프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / ConvertService / ServiceController / StationControllerService / MarkusModel.Context.cs @ 5c387707

이력 | 보기 | 이력해설 | 다운로드 (21.5 KB)

1 5c387707 semi
//------------------------------------------------------------------------------
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
}
클립보드 이미지 추가 (최대 크기: 500 MB)