markus / ConvertService / ServiceController / StationControllerService / MarkusModel.Context.cs @ 4a41c345
이력 | 보기 | 이력해설 | 다운로드 (26.6 KB)
1 |
//------------------------------------------------------------------------------ |
---|---|
2 |
// <auto-generated> |
3 |
// 이 코드는 템플릿에서 생성되었습니다. |
4 |
// |
5 |
// 이 파일을 수동으로 변경하면 응용 프로그램에서 예기치 않은 동작이 발생할 수 있습니다. |
6 |
// 이 파일을 수동으로 변경하면 코드가 다시 생성될 때 변경 내용을 덮어씁니다. |
7 |
// </auto-generated> |
8 |
//------------------------------------------------------------------------------ |
9 |
|
10 |
namespace StationControllerService |
11 |
{ |
12 |
using System; |
13 |
using System.Data.Entity; |
14 |
using System.Data.Entity.Infrastructure; |
15 |
using System.Data.Entity.Core.Objects; |
16 |
using System.Linq; |
17 |
|
18 |
public partial class markusEntities : DbContext |
19 |
{ |
20 |
public markusEntities() |
21 |
: base("name=markusEntities") |
22 |
{ |
23 |
} |
24 |
|
25 |
protected override void OnModelCreating(DbModelBuilder modelBuilder) |
26 |
{ |
27 |
throw new UnintentionalCodeFirstException(); |
28 |
} |
29 |
|
30 |
|
31 |
public virtual ObjectResult<CONVERT_COUNT_Result> CONVERT_COUNT(Nullable<int> p_STATUS, Nullable<System.DateTime> p_BEGIN_CREATE_DATETIME, Nullable<System.DateTime> p_FINISH_CREATE_DATETIME) |
32 |
{ |
33 |
var p_STATUSParameter = p_STATUS.HasValue ? |
34 |
new ObjectParameter("P_STATUS", p_STATUS) : |
35 |
new ObjectParameter("P_STATUS", typeof(int)); |
36 |
|
37 |
var p_BEGIN_CREATE_DATETIMEParameter = p_BEGIN_CREATE_DATETIME.HasValue ? |
38 |
new ObjectParameter("P_BEGIN_CREATE_DATETIME", p_BEGIN_CREATE_DATETIME) : |
39 |
new ObjectParameter("P_BEGIN_CREATE_DATETIME", typeof(System.DateTime)); |
40 |
|
41 |
var p_FINISH_CREATE_DATETIMEParameter = p_FINISH_CREATE_DATETIME.HasValue ? |
42 |
new ObjectParameter("P_FINISH_CREATE_DATETIME", p_FINISH_CREATE_DATETIME) : |
43 |
new ObjectParameter("P_FINISH_CREATE_DATETIME", typeof(System.DateTime)); |
44 |
|
45 |
return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction<CONVERT_COUNT_Result>("CONVERT_COUNT", p_STATUSParameter, p_BEGIN_CREATE_DATETIMEParameter, p_FINISH_CREATE_DATETIMEParameter); |
46 |
} |
47 |
|
48 |
public virtual ObjectResult<FINALPDF_COUNT_Result> FINALPDF_COUNT(Nullable<int> p_STATUS, Nullable<System.DateTime> p_BEGIN_CREATE_DATETIME, Nullable<System.DateTime> p_FINISH_CREATE_DATETIME) |
49 |
{ |
50 |
var p_STATUSParameter = p_STATUS.HasValue ? |
51 |
new ObjectParameter("P_STATUS", p_STATUS) : |
52 |
new ObjectParameter("P_STATUS", typeof(int)); |
53 |
|
54 |
var p_BEGIN_CREATE_DATETIMEParameter = p_BEGIN_CREATE_DATETIME.HasValue ? |
55 |
new ObjectParameter("P_BEGIN_CREATE_DATETIME", p_BEGIN_CREATE_DATETIME) : |
56 |
new ObjectParameter("P_BEGIN_CREATE_DATETIME", typeof(System.DateTime)); |
57 |
|
58 |
var p_FINISH_CREATE_DATETIMEParameter = p_FINISH_CREATE_DATETIME.HasValue ? |
59 |
new ObjectParameter("P_FINISH_CREATE_DATETIME", p_FINISH_CREATE_DATETIME) : |
60 |
new ObjectParameter("P_FINISH_CREATE_DATETIME", typeof(System.DateTime)); |
61 |
|
62 |
return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction<FINALPDF_COUNT_Result>("FINALPDF_COUNT", p_STATUSParameter, p_BEGIN_CREATE_DATETIMEParameter, p_FINISH_CREATE_DATETIMEParameter); |
63 |
} |
64 |
|
65 |
public virtual int SELECT_CONVERT_DELETE(string p_ID) |
66 |
{ |
67 |
var p_IDParameter = p_ID != null ? |
68 |
new ObjectParameter("P_ID", p_ID) : |
69 |
new ObjectParameter("P_ID", typeof(string)); |
70 |
|
71 |
return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction("SELECT_CONVERT_DELETE", p_IDParameter); |
72 |
} |
73 |
|
74 |
public virtual int SELECT_CONVERT_INSERT(string p_ID, string p_PROJECT_NO, string p_DOCUMENT_URL, string p_DOCUMENT_ID) |
75 |
{ |
76 |
var p_IDParameter = p_ID != null ? |
77 |
new ObjectParameter("P_ID", p_ID) : |
78 |
new ObjectParameter("P_ID", typeof(string)); |
79 |
|
80 |
var p_PROJECT_NOParameter = p_PROJECT_NO != null ? |
81 |
new ObjectParameter("P_PROJECT_NO", p_PROJECT_NO) : |
82 |
new ObjectParameter("P_PROJECT_NO", typeof(string)); |
83 |
|
84 |
var p_DOCUMENT_URLParameter = p_DOCUMENT_URL != null ? |
85 |
new ObjectParameter("P_DOCUMENT_URL", p_DOCUMENT_URL) : |
86 |
new ObjectParameter("P_DOCUMENT_URL", typeof(string)); |
87 |
|
88 |
var p_DOCUMENT_IDParameter = p_DOCUMENT_ID != null ? |
89 |
new ObjectParameter("P_DOCUMENT_ID", p_DOCUMENT_ID) : |
90 |
new ObjectParameter("P_DOCUMENT_ID", typeof(string)); |
91 |
|
92 |
return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction("SELECT_CONVERT_INSERT", p_IDParameter, p_PROJECT_NOParameter, p_DOCUMENT_URLParameter, p_DOCUMENT_IDParameter); |
93 |
} |
94 |
|
95 |
public virtual ObjectResult<SELECT_CONVERT_ITEM_Result> SELECT_CONVERT_ITEM(string p_ID, string p_PROJECT_NO, string p_DOCUMENT_ID, Nullable<int> p_STATUS, Nullable<int> p_TAKE_COUNT, Nullable<System.DateTime> p_BEGIN_CREATE_DATETIME, Nullable<System.DateTime> p_FINISH_CREATE_DATETIME, Nullable<System.DateTime> p_BEGIN_START_DATETIE, Nullable<System.DateTime> p_FINISH_START_DATETIME, Nullable<System.DateTime> p_BEGIN_END_DATETIME, Nullable<System.DateTime> p_FINISH_END_DATETIME, string p_GROUP_NO, string p_DOCUMENT_NAME, string p_DOCUMENT_NO, string p_REVISION, string p_SERVICE_ID, Nullable<int> p_RECONVERTER, string p_DOCUMENT_URL, Nullable<bool> p_ExcptionCheck) |
96 |
{ |
97 |
var p_IDParameter = p_ID != null ? |
98 |
new ObjectParameter("P_ID", p_ID) : |
99 |
new ObjectParameter("P_ID", typeof(string)); |
100 |
|
101 |
var p_PROJECT_NOParameter = p_PROJECT_NO != null ? |
102 |
new ObjectParameter("P_PROJECT_NO", p_PROJECT_NO) : |
103 |
new ObjectParameter("P_PROJECT_NO", typeof(string)); |
104 |
|
105 |
var p_DOCUMENT_IDParameter = p_DOCUMENT_ID != null ? |
106 |
new ObjectParameter("P_DOCUMENT_ID", p_DOCUMENT_ID) : |
107 |
new ObjectParameter("P_DOCUMENT_ID", typeof(string)); |
108 |
|
109 |
var p_STATUSParameter = p_STATUS.HasValue ? |
110 |
new ObjectParameter("P_STATUS", p_STATUS) : |
111 |
new ObjectParameter("P_STATUS", typeof(int)); |
112 |
|
113 |
var p_TAKE_COUNTParameter = p_TAKE_COUNT.HasValue ? |
114 |
new ObjectParameter("P_TAKE_COUNT", p_TAKE_COUNT) : |
115 |
new ObjectParameter("P_TAKE_COUNT", typeof(int)); |
116 |
|
117 |
var p_BEGIN_CREATE_DATETIMEParameter = p_BEGIN_CREATE_DATETIME.HasValue ? |
118 |
new ObjectParameter("P_BEGIN_CREATE_DATETIME", p_BEGIN_CREATE_DATETIME) : |
119 |
new ObjectParameter("P_BEGIN_CREATE_DATETIME", typeof(System.DateTime)); |
120 |
|
121 |
var p_FINISH_CREATE_DATETIMEParameter = p_FINISH_CREATE_DATETIME.HasValue ? |
122 |
new ObjectParameter("P_FINISH_CREATE_DATETIME", p_FINISH_CREATE_DATETIME) : |
123 |
new ObjectParameter("P_FINISH_CREATE_DATETIME", typeof(System.DateTime)); |
124 |
|
125 |
var p_BEGIN_START_DATETIEParameter = p_BEGIN_START_DATETIE.HasValue ? |
126 |
new ObjectParameter("P_BEGIN_START_DATETIE", p_BEGIN_START_DATETIE) : |
127 |
new ObjectParameter("P_BEGIN_START_DATETIE", typeof(System.DateTime)); |
128 |
|
129 |
var p_FINISH_START_DATETIMEParameter = p_FINISH_START_DATETIME.HasValue ? |
130 |
new ObjectParameter("P_FINISH_START_DATETIME", p_FINISH_START_DATETIME) : |
131 |
new ObjectParameter("P_FINISH_START_DATETIME", typeof(System.DateTime)); |
132 |
|
133 |
var p_BEGIN_END_DATETIMEParameter = p_BEGIN_END_DATETIME.HasValue ? |
134 |
new ObjectParameter("P_BEGIN_END_DATETIME", p_BEGIN_END_DATETIME) : |
135 |
new ObjectParameter("P_BEGIN_END_DATETIME", typeof(System.DateTime)); |
136 |
|
137 |
var p_FINISH_END_DATETIMEParameter = p_FINISH_END_DATETIME.HasValue ? |
138 |
new ObjectParameter("P_FINISH_END_DATETIME", p_FINISH_END_DATETIME) : |
139 |
new ObjectParameter("P_FINISH_END_DATETIME", typeof(System.DateTime)); |
140 |
|
141 |
var p_GROUP_NOParameter = p_GROUP_NO != null ? |
142 |
new ObjectParameter("P_GROUP_NO", p_GROUP_NO) : |
143 |
new ObjectParameter("P_GROUP_NO", typeof(string)); |
144 |
|
145 |
var p_DOCUMENT_NAMEParameter = p_DOCUMENT_NAME != null ? |
146 |
new ObjectParameter("P_DOCUMENT_NAME", p_DOCUMENT_NAME) : |
147 |
new ObjectParameter("P_DOCUMENT_NAME", typeof(string)); |
148 |
|
149 |
var p_DOCUMENT_NOParameter = p_DOCUMENT_NO != null ? |
150 |
new ObjectParameter("P_DOCUMENT_NO", p_DOCUMENT_NO) : |
151 |
new ObjectParameter("P_DOCUMENT_NO", typeof(string)); |
152 |
|
153 |
var p_REVISIONParameter = p_REVISION != null ? |
154 |
new ObjectParameter("P_REVISION", p_REVISION) : |
155 |
new ObjectParameter("P_REVISION", typeof(string)); |
156 |
|
157 |
var p_SERVICE_IDParameter = p_SERVICE_ID != null ? |
158 |
new ObjectParameter("P_SERVICE_ID", p_SERVICE_ID) : |
159 |
new ObjectParameter("P_SERVICE_ID", typeof(string)); |
160 |
|
161 |
var p_RECONVERTERParameter = p_RECONVERTER.HasValue ? |
162 |
new ObjectParameter("P_RECONVERTER", p_RECONVERTER) : |
163 |
new ObjectParameter("P_RECONVERTER", typeof(int)); |
164 |
|
165 |
var p_DOCUMENT_URLParameter = p_DOCUMENT_URL != null ? |
166 |
new ObjectParameter("P_DOCUMENT_URL", p_DOCUMENT_URL) : |
167 |
new ObjectParameter("P_DOCUMENT_URL", typeof(string)); |
168 |
|
169 |
var p_ExcptionCheckParameter = p_ExcptionCheck.HasValue ? |
170 |
new ObjectParameter("P_ExcptionCheck", p_ExcptionCheck) : |
171 |
new ObjectParameter("P_ExcptionCheck", typeof(bool)); |
172 |
|
173 |
return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction<SELECT_CONVERT_ITEM_Result>("SELECT_CONVERT_ITEM", p_IDParameter, p_PROJECT_NOParameter, p_DOCUMENT_IDParameter, p_STATUSParameter, p_TAKE_COUNTParameter, p_BEGIN_CREATE_DATETIMEParameter, p_FINISH_CREATE_DATETIMEParameter, p_BEGIN_START_DATETIEParameter, p_FINISH_START_DATETIMEParameter, p_BEGIN_END_DATETIMEParameter, p_FINISH_END_DATETIMEParameter, p_GROUP_NOParameter, p_DOCUMENT_NAMEParameter, p_DOCUMENT_NOParameter, p_REVISIONParameter, p_SERVICE_IDParameter, p_RECONVERTERParameter, p_DOCUMENT_URLParameter, p_ExcptionCheckParameter); |
174 |
} |
175 |
|
176 |
public virtual int SELECT_FINAL_PDF_DELETE(string p_ID) |
177 |
{ |
178 |
var p_IDParameter = p_ID != null ? |
179 |
new ObjectParameter("P_ID", p_ID) : |
180 |
new ObjectParameter("P_ID", typeof(string)); |
181 |
|
182 |
return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction("SELECT_FINAL_PDF_DELETE", p_IDParameter); |
183 |
} |
184 |
|
185 |
public virtual int SELECT_FINAL_PDF_INSERT(string p_ID, string p_PROJECT_NO, string p_DOCINFO_ID, string p_DOCUMENT_ID) |
186 |
{ |
187 |
var p_IDParameter = p_ID != null ? |
188 |
new ObjectParameter("P_ID", p_ID) : |
189 |
new ObjectParameter("P_ID", typeof(string)); |
190 |
|
191 |
var p_PROJECT_NOParameter = p_PROJECT_NO != null ? |
192 |
new ObjectParameter("P_PROJECT_NO", p_PROJECT_NO) : |
193 |
new ObjectParameter("P_PROJECT_NO", typeof(string)); |
194 |
|
195 |
var p_DOCINFO_IDParameter = p_DOCINFO_ID != null ? |
196 |
new ObjectParameter("P_DOCINFO_ID", p_DOCINFO_ID) : |
197 |
new ObjectParameter("P_DOCINFO_ID", typeof(string)); |
198 |
|
199 |
var p_DOCUMENT_IDParameter = p_DOCUMENT_ID != null ? |
200 |
new ObjectParameter("P_DOCUMENT_ID", p_DOCUMENT_ID) : |
201 |
new ObjectParameter("P_DOCUMENT_ID", typeof(string)); |
202 |
|
203 |
return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction("SELECT_FINAL_PDF_INSERT", p_IDParameter, p_PROJECT_NOParameter, p_DOCINFO_IDParameter, p_DOCUMENT_IDParameter); |
204 |
} |
205 |
|
206 |
public virtual ObjectResult<SELECT_FINAL_PDF_ITEM_Result> SELECT_FINAL_PDF_ITEM(string p_ID, string p_PROJECT_NO, string p_DOCUMENT_ID, string p_MARKUPINFO_ID, string p_DOCINFO_ID, string p_DOCUMENT_NAME, string p_DOCUMENT_NO, string p_CREATE_USER_ID, Nullable<int> p_STATUS, Nullable<int> p_TAKE_COUNT, string p_GROUP_NO, string p_REVISION, Nullable<System.DateTime> p_BEGIN_CREATE_DATETIME, Nullable<System.DateTime> p_FINISH_CREATE_DATETIME, Nullable<System.DateTime> p_BEGIN_START_DATETIE, Nullable<System.DateTime> p_FINISH_START_DATETIME, Nullable<System.DateTime> p_BEGIN_END_DATETIME, Nullable<System.DateTime> p_FINISH_END_DATETIME, string p_DOCUMENT_URL, Nullable<bool> p_ExcptionCheck) |
207 |
{ |
208 |
var p_IDParameter = p_ID != null ? |
209 |
new ObjectParameter("P_ID", p_ID) : |
210 |
new ObjectParameter("P_ID", typeof(string)); |
211 |
|
212 |
var p_PROJECT_NOParameter = p_PROJECT_NO != null ? |
213 |
new ObjectParameter("P_PROJECT_NO", p_PROJECT_NO) : |
214 |
new ObjectParameter("P_PROJECT_NO", typeof(string)); |
215 |
|
216 |
var p_DOCUMENT_IDParameter = p_DOCUMENT_ID != null ? |
217 |
new ObjectParameter("P_DOCUMENT_ID", p_DOCUMENT_ID) : |
218 |
new ObjectParameter("P_DOCUMENT_ID", typeof(string)); |
219 |
|
220 |
var p_MARKUPINFO_IDParameter = p_MARKUPINFO_ID != null ? |
221 |
new ObjectParameter("P_MARKUPINFO_ID", p_MARKUPINFO_ID) : |
222 |
new ObjectParameter("P_MARKUPINFO_ID", typeof(string)); |
223 |
|
224 |
var p_DOCINFO_IDParameter = p_DOCINFO_ID != null ? |
225 |
new ObjectParameter("P_DOCINFO_ID", p_DOCINFO_ID) : |
226 |
new ObjectParameter("P_DOCINFO_ID", typeof(string)); |
227 |
|
228 |
var p_DOCUMENT_NAMEParameter = p_DOCUMENT_NAME != null ? |
229 |
new ObjectParameter("P_DOCUMENT_NAME", p_DOCUMENT_NAME) : |
230 |
new ObjectParameter("P_DOCUMENT_NAME", typeof(string)); |
231 |
|
232 |
var p_DOCUMENT_NOParameter = p_DOCUMENT_NO != null ? |
233 |
new ObjectParameter("P_DOCUMENT_NO", p_DOCUMENT_NO) : |
234 |
new ObjectParameter("P_DOCUMENT_NO", typeof(string)); |
235 |
|
236 |
var p_CREATE_USER_IDParameter = p_CREATE_USER_ID != null ? |
237 |
new ObjectParameter("P_CREATE_USER_ID", p_CREATE_USER_ID) : |
238 |
new ObjectParameter("P_CREATE_USER_ID", typeof(string)); |
239 |
|
240 |
var p_STATUSParameter = p_STATUS.HasValue ? |
241 |
new ObjectParameter("P_STATUS", p_STATUS) : |
242 |
new ObjectParameter("P_STATUS", typeof(int)); |
243 |
|
244 |
var p_TAKE_COUNTParameter = p_TAKE_COUNT.HasValue ? |
245 |
new ObjectParameter("P_TAKE_COUNT", p_TAKE_COUNT) : |
246 |
new ObjectParameter("P_TAKE_COUNT", typeof(int)); |
247 |
|
248 |
var p_GROUP_NOParameter = p_GROUP_NO != null ? |
249 |
new ObjectParameter("P_GROUP_NO", p_GROUP_NO) : |
250 |
new ObjectParameter("P_GROUP_NO", typeof(string)); |
251 |
|
252 |
var p_REVISIONParameter = p_REVISION != null ? |
253 |
new ObjectParameter("P_REVISION", p_REVISION) : |
254 |
new ObjectParameter("P_REVISION", typeof(string)); |
255 |
|
256 |
var p_BEGIN_CREATE_DATETIMEParameter = p_BEGIN_CREATE_DATETIME.HasValue ? |
257 |
new ObjectParameter("P_BEGIN_CREATE_DATETIME", p_BEGIN_CREATE_DATETIME) : |
258 |
new ObjectParameter("P_BEGIN_CREATE_DATETIME", typeof(System.DateTime)); |
259 |
|
260 |
var p_FINISH_CREATE_DATETIMEParameter = p_FINISH_CREATE_DATETIME.HasValue ? |
261 |
new ObjectParameter("P_FINISH_CREATE_DATETIME", p_FINISH_CREATE_DATETIME) : |
262 |
new ObjectParameter("P_FINISH_CREATE_DATETIME", typeof(System.DateTime)); |
263 |
|
264 |
var p_BEGIN_START_DATETIEParameter = p_BEGIN_START_DATETIE.HasValue ? |
265 |
new ObjectParameter("P_BEGIN_START_DATETIE", p_BEGIN_START_DATETIE) : |
266 |
new ObjectParameter("P_BEGIN_START_DATETIE", typeof(System.DateTime)); |
267 |
|
268 |
var p_FINISH_START_DATETIMEParameter = p_FINISH_START_DATETIME.HasValue ? |
269 |
new ObjectParameter("P_FINISH_START_DATETIME", p_FINISH_START_DATETIME) : |
270 |
new ObjectParameter("P_FINISH_START_DATETIME", typeof(System.DateTime)); |
271 |
|
272 |
var p_BEGIN_END_DATETIMEParameter = p_BEGIN_END_DATETIME.HasValue ? |
273 |
new ObjectParameter("P_BEGIN_END_DATETIME", p_BEGIN_END_DATETIME) : |
274 |
new ObjectParameter("P_BEGIN_END_DATETIME", typeof(System.DateTime)); |
275 |
|
276 |
var p_FINISH_END_DATETIMEParameter = p_FINISH_END_DATETIME.HasValue ? |
277 |
new ObjectParameter("P_FINISH_END_DATETIME", p_FINISH_END_DATETIME) : |
278 |
new ObjectParameter("P_FINISH_END_DATETIME", typeof(System.DateTime)); |
279 |
|
280 |
var p_DOCUMENT_URLParameter = p_DOCUMENT_URL != null ? |
281 |
new ObjectParameter("P_DOCUMENT_URL", p_DOCUMENT_URL) : |
282 |
new ObjectParameter("P_DOCUMENT_URL", typeof(string)); |
283 |
|
284 |
var p_ExcptionCheckParameter = p_ExcptionCheck.HasValue ? |
285 |
new ObjectParameter("P_ExcptionCheck", p_ExcptionCheck) : |
286 |
new ObjectParameter("P_ExcptionCheck", typeof(bool)); |
287 |
|
288 |
return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction<SELECT_FINAL_PDF_ITEM_Result>("SELECT_FINAL_PDF_ITEM", p_IDParameter, p_PROJECT_NOParameter, p_DOCUMENT_IDParameter, p_MARKUPINFO_IDParameter, p_DOCINFO_IDParameter, p_DOCUMENT_NAMEParameter, p_DOCUMENT_NOParameter, p_CREATE_USER_IDParameter, p_STATUSParameter, p_TAKE_COUNTParameter, p_GROUP_NOParameter, p_REVISIONParameter, p_BEGIN_CREATE_DATETIMEParameter, p_FINISH_CREATE_DATETIMEParameter, p_BEGIN_START_DATETIEParameter, p_FINISH_START_DATETIMEParameter, p_BEGIN_END_DATETIMEParameter, p_FINISH_END_DATETIMEParameter, p_DOCUMENT_URLParameter, p_ExcptionCheckParameter); |
289 |
} |
290 |
|
291 |
public virtual int SELECT_RERECONVERT_ITEM(string p_ID, Nullable<int> p_RECONVERTER, Nullable<System.DateTime> p_CREATE_DATETIME, Nullable<int> p_STATUS, Nullable<System.DateTime> p_END_DATETIME) |
292 |
{ |
293 |
var p_IDParameter = p_ID != null ? |
294 |
new ObjectParameter("P_ID", p_ID) : |
295 |
new ObjectParameter("P_ID", typeof(string)); |
296 |
|
297 |
var p_RECONVERTERParameter = p_RECONVERTER.HasValue ? |
298 |
new ObjectParameter("P_RECONVERTER", p_RECONVERTER) : |
299 |
new ObjectParameter("P_RECONVERTER", typeof(int)); |
300 |
|
301 |
var p_CREATE_DATETIMEParameter = p_CREATE_DATETIME.HasValue ? |
302 |
new ObjectParameter("P_CREATE_DATETIME", p_CREATE_DATETIME) : |
303 |
new ObjectParameter("P_CREATE_DATETIME", typeof(System.DateTime)); |
304 |
|
305 |
var p_STATUSParameter = p_STATUS.HasValue ? |
306 |
new ObjectParameter("P_STATUS", p_STATUS) : |
307 |
new ObjectParameter("P_STATUS", typeof(int)); |
308 |
|
309 |
var p_END_DATETIMEParameter = p_END_DATETIME.HasValue ? |
310 |
new ObjectParameter("P_END_DATETIME", p_END_DATETIME) : |
311 |
new ObjectParameter("P_END_DATETIME", typeof(System.DateTime)); |
312 |
|
313 |
return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction("SELECT_RERECONVERT_ITEM", p_IDParameter, p_RECONVERTERParameter, p_CREATE_DATETIMEParameter, p_STATUSParameter, p_END_DATETIMEParameter); |
314 |
} |
315 |
|
316 |
public virtual ObjectResult<SELECT_RUN_PROJECTS_Result> SELECT_RUN_PROJECTS(Nullable<int> p_RUN_PROJECTS) |
317 |
{ |
318 |
var p_RUN_PROJECTSParameter = p_RUN_PROJECTS.HasValue ? |
319 |
new ObjectParameter("P_RUN_PROJECTS", p_RUN_PROJECTS) : |
320 |
new ObjectParameter("P_RUN_PROJECTS", typeof(int)); |
321 |
|
322 |
return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction<SELECT_RUN_PROJECTS_Result>("SELECT_RUN_PROJECTS", p_RUN_PROJECTSParameter); |
323 |
} |
324 |
|
325 |
public virtual ObjectResult<SELECT_DOCUMENT_ITEM_Result> SELECT_DOCUMENT_ITEM(Nullable<int> p_TAKE_COUNT, string p_REVISION, string p_DOCUMENT_N0, string p_DOCUMENT_NAME, string p_GROUP_N0, string p_ORIGINAL_FILE, string p_DOCUMENT_ID, string p_PROJECT_NO) |
326 |
{ |
327 |
var p_TAKE_COUNTParameter = p_TAKE_COUNT.HasValue ? |
328 |
new ObjectParameter("P_TAKE_COUNT", p_TAKE_COUNT) : |
329 |
new ObjectParameter("P_TAKE_COUNT", typeof(int)); |
330 |
|
331 |
var p_REVISIONParameter = p_REVISION != null ? |
332 |
new ObjectParameter("P_REVISION", p_REVISION) : |
333 |
new ObjectParameter("P_REVISION", typeof(string)); |
334 |
|
335 |
var p_DOCUMENT_N0Parameter = p_DOCUMENT_N0 != null ? |
336 |
new ObjectParameter("P_DOCUMENT_N0", p_DOCUMENT_N0) : |
337 |
new ObjectParameter("P_DOCUMENT_N0", typeof(string)); |
338 |
|
339 |
var p_DOCUMENT_NAMEParameter = p_DOCUMENT_NAME != null ? |
340 |
new ObjectParameter("P_DOCUMENT_NAME", p_DOCUMENT_NAME) : |
341 |
new ObjectParameter("P_DOCUMENT_NAME", typeof(string)); |
342 |
|
343 |
var p_GROUP_N0Parameter = p_GROUP_N0 != null ? |
344 |
new ObjectParameter("P_GROUP_N0", p_GROUP_N0) : |
345 |
new ObjectParameter("P_GROUP_N0", typeof(string)); |
346 |
|
347 |
var p_ORIGINAL_FILEParameter = p_ORIGINAL_FILE != null ? |
348 |
new ObjectParameter("P_ORIGINAL_FILE", p_ORIGINAL_FILE) : |
349 |
new ObjectParameter("P_ORIGINAL_FILE", typeof(string)); |
350 |
|
351 |
var p_DOCUMENT_IDParameter = p_DOCUMENT_ID != null ? |
352 |
new ObjectParameter("P_DOCUMENT_ID", p_DOCUMENT_ID) : |
353 |
new ObjectParameter("P_DOCUMENT_ID", typeof(string)); |
354 |
|
355 |
var p_PROJECT_NOParameter = p_PROJECT_NO != null ? |
356 |
new ObjectParameter("P_PROJECT_NO", p_PROJECT_NO) : |
357 |
new ObjectParameter("P_PROJECT_NO", typeof(string)); |
358 |
|
359 |
return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction<SELECT_DOCUMENT_ITEM_Result>("SELECT_DOCUMENT_ITEM", p_TAKE_COUNTParameter, p_REVISIONParameter, p_DOCUMENT_N0Parameter, p_DOCUMENT_NAMEParameter, p_GROUP_N0Parameter, p_ORIGINAL_FILEParameter, p_DOCUMENT_IDParameter, p_PROJECT_NOParameter); |
360 |
} |
361 |
|
362 |
public virtual ObjectResult<SELECT_PROPERTIES_RUN_PROJECTS_Result> SELECT_PROPERTIES_RUN_PROJECTS(string p_PROJECT_NO) |
363 |
{ |
364 |
var p_PROJECT_NOParameter = p_PROJECT_NO != null ? |
365 |
new ObjectParameter("P_PROJECT_NO", p_PROJECT_NO) : |
366 |
new ObjectParameter("P_PROJECT_NO", typeof(string)); |
367 |
|
368 |
return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction<SELECT_PROPERTIES_RUN_PROJECTS_Result>("SELECT_PROPERTIES_RUN_PROJECTS", p_PROJECT_NOParameter); |
369 |
} |
370 |
|
371 |
public virtual int SELECT_RUNANDPROPERTY_INSERT(string p_PROJECT_NO, string p_PROJECT_NAME, string p_TYPE_InitialCatalog, string p_VALUE_InitialCatalog, string p_TYPE_TileSorceStorage, string p_VALUE_TileSorceStorage, string p_TYPE_TileSourcePath, string p_VALUE_TileSourcePath, string p_TYPE_FinalPDFStorageRemote, string p_VALUE_FinalPDFStorageRemote, string p_TYPE_FinalPDFStorageLocal, string p_VALUE_FinalPDFStorageLocal, string p_TYPE_UpLoadServiceUrl, string p_VALUE_UpLoadServiceUrl) |
372 |
{ |
373 |
var p_PROJECT_NOParameter = p_PROJECT_NO != null ? |
374 |
new ObjectParameter("P_PROJECT_NO", p_PROJECT_NO) : |
375 |
new ObjectParameter("P_PROJECT_NO", typeof(string)); |
376 |
|
377 |
var p_PROJECT_NAMEParameter = p_PROJECT_NAME != null ? |
378 |
new ObjectParameter("P_PROJECT_NAME", p_PROJECT_NAME) : |
379 |
new ObjectParameter("P_PROJECT_NAME", typeof(string)); |
380 |
|
381 |
var p_TYPE_InitialCatalogParameter = p_TYPE_InitialCatalog != null ? |
382 |
new ObjectParameter("P_TYPE_InitialCatalog", p_TYPE_InitialCatalog) : |
383 |
new ObjectParameter("P_TYPE_InitialCatalog", typeof(string)); |
384 |
|
385 |
var p_VALUE_InitialCatalogParameter = p_VALUE_InitialCatalog != null ? |
386 |
new ObjectParameter("P_VALUE_InitialCatalog", p_VALUE_InitialCatalog) : |
387 |
new ObjectParameter("P_VALUE_InitialCatalog", typeof(string)); |
388 |
|
389 |
var p_TYPE_TileSorceStorageParameter = p_TYPE_TileSorceStorage != null ? |
390 |
new ObjectParameter("P_TYPE_TileSorceStorage", p_TYPE_TileSorceStorage) : |
391 |
new ObjectParameter("P_TYPE_TileSorceStorage", typeof(string)); |
392 |
|
393 |
var p_VALUE_TileSorceStorageParameter = p_VALUE_TileSorceStorage != null ? |
394 |
new ObjectParameter("P_VALUE_TileSorceStorage", p_VALUE_TileSorceStorage) : |
395 |
new ObjectParameter("P_VALUE_TileSorceStorage", typeof(string)); |
396 |
|
397 |
var p_TYPE_TileSourcePathParameter = p_TYPE_TileSourcePath != null ? |
398 |
new ObjectParameter("P_TYPE_TileSourcePath", p_TYPE_TileSourcePath) : |
399 |
new ObjectParameter("P_TYPE_TileSourcePath", typeof(string)); |
400 |
|
401 |
var p_VALUE_TileSourcePathParameter = p_VALUE_TileSourcePath != null ? |
402 |
new ObjectParameter("P_VALUE_TileSourcePath", p_VALUE_TileSourcePath) : |
403 |
new ObjectParameter("P_VALUE_TileSourcePath", typeof(string)); |
404 |
|
405 |
var p_TYPE_FinalPDFStorageRemoteParameter = p_TYPE_FinalPDFStorageRemote != null ? |
406 |
new ObjectParameter("P_TYPE_FinalPDFStorageRemote", p_TYPE_FinalPDFStorageRemote) : |
407 |
new ObjectParameter("P_TYPE_FinalPDFStorageRemote", typeof(string)); |
408 |
|
409 |
var p_VALUE_FinalPDFStorageRemoteParameter = p_VALUE_FinalPDFStorageRemote != null ? |
410 |
new ObjectParameter("P_VALUE_FinalPDFStorageRemote", p_VALUE_FinalPDFStorageRemote) : |
411 |
new ObjectParameter("P_VALUE_FinalPDFStorageRemote", typeof(string)); |
412 |
|
413 |
var p_TYPE_FinalPDFStorageLocalParameter = p_TYPE_FinalPDFStorageLocal != null ? |
414 |
new ObjectParameter("P_TYPE_FinalPDFStorageLocal", p_TYPE_FinalPDFStorageLocal) : |
415 |
new ObjectParameter("P_TYPE_FinalPDFStorageLocal", typeof(string)); |
416 |
|
417 |
var p_VALUE_FinalPDFStorageLocalParameter = p_VALUE_FinalPDFStorageLocal != null ? |
418 |
new ObjectParameter("P_VALUE_FinalPDFStorageLocal", p_VALUE_FinalPDFStorageLocal) : |
419 |
new ObjectParameter("P_VALUE_FinalPDFStorageLocal", typeof(string)); |
420 |
|
421 |
var p_TYPE_UpLoadServiceUrlParameter = p_TYPE_UpLoadServiceUrl != null ? |
422 |
new ObjectParameter("P_TYPE_UpLoadServiceUrl", p_TYPE_UpLoadServiceUrl) : |
423 |
new ObjectParameter("P_TYPE_UpLoadServiceUrl", typeof(string)); |
424 |
|
425 |
var p_VALUE_UpLoadServiceUrlParameter = p_VALUE_UpLoadServiceUrl != null ? |
426 |
new ObjectParameter("P_VALUE_UpLoadServiceUrl", p_VALUE_UpLoadServiceUrl) : |
427 |
new ObjectParameter("P_VALUE_UpLoadServiceUrl", typeof(string)); |
428 |
|
429 |
return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction("SELECT_RUNANDPROPERTY_INSERT", p_PROJECT_NOParameter, p_PROJECT_NAMEParameter, p_TYPE_InitialCatalogParameter, p_VALUE_InitialCatalogParameter, p_TYPE_TileSorceStorageParameter, p_VALUE_TileSorceStorageParameter, p_TYPE_TileSourcePathParameter, p_VALUE_TileSourcePathParameter, p_TYPE_FinalPDFStorageRemoteParameter, p_VALUE_FinalPDFStorageRemoteParameter, p_TYPE_FinalPDFStorageLocalParameter, p_VALUE_FinalPDFStorageLocalParameter, p_TYPE_UpLoadServiceUrlParameter, p_VALUE_UpLoadServiceUrlParameter); |
430 |
} |
431 |
} |
432 |
} |