markus / ConvertService / ServiceBase / Markus.Service.StationController / MarkusModel.Context.cs @ b63dcfbb
이력 | 보기 | 이력해설 | 다운로드 (6.17 KB)
1 |
//------------------------------------------------------------------------------ |
---|---|
2 |
// <auto-generated> |
3 |
// 이 코드는 템플릿에서 생성되었습니다. |
4 |
// |
5 |
// 이 파일을 수동으로 변경하면 응용 프로그램에서 예기치 않은 동작이 발생할 수 있습니다. |
6 |
// 이 파일을 수동으로 변경하면 코드가 다시 생성될 때 변경 내용을 덮어씁니다. |
7 |
// </auto-generated> |
8 |
//------------------------------------------------------------------------------ |
9 |
|
10 |
namespace Markus.Service.StationController |
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<SELECT_CONVERT_ITEM_Result> SELECT_CONVERT_ITEM(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) |
32 |
{ |
33 |
var p_PROJECT_NOParameter = p_PROJECT_NO != null ? |
34 |
new ObjectParameter("P_PROJECT_NO", p_PROJECT_NO) : |
35 |
new ObjectParameter("P_PROJECT_NO", typeof(string)); |
36 |
|
37 |
var p_DOCUMENT_IDParameter = p_DOCUMENT_ID != null ? |
38 |
new ObjectParameter("P_DOCUMENT_ID", p_DOCUMENT_ID) : |
39 |
new ObjectParameter("P_DOCUMENT_ID", typeof(string)); |
40 |
|
41 |
var p_STATUSParameter = p_STATUS.HasValue ? |
42 |
new ObjectParameter("P_STATUS", p_STATUS) : |
43 |
new ObjectParameter("P_STATUS", typeof(int)); |
44 |
|
45 |
var p_TAKE_COUNTParameter = p_TAKE_COUNT.HasValue ? |
46 |
new ObjectParameter("P_TAKE_COUNT", p_TAKE_COUNT) : |
47 |
new ObjectParameter("P_TAKE_COUNT", typeof(int)); |
48 |
|
49 |
var p_BEGIN_CREATE_DATETIMEParameter = p_BEGIN_CREATE_DATETIME.HasValue ? |
50 |
new ObjectParameter("P_BEGIN_CREATE_DATETIME", p_BEGIN_CREATE_DATETIME) : |
51 |
new ObjectParameter("P_BEGIN_CREATE_DATETIME", typeof(System.DateTime)); |
52 |
|
53 |
var p_FINISH_CREATE_DATETIMEParameter = p_FINISH_CREATE_DATETIME.HasValue ? |
54 |
new ObjectParameter("P_FINISH_CREATE_DATETIME", p_FINISH_CREATE_DATETIME) : |
55 |
new ObjectParameter("P_FINISH_CREATE_DATETIME", typeof(System.DateTime)); |
56 |
|
57 |
var p_BEGIN_START_DATETIEParameter = p_BEGIN_START_DATETIE.HasValue ? |
58 |
new ObjectParameter("P_BEGIN_START_DATETIE", p_BEGIN_START_DATETIE) : |
59 |
new ObjectParameter("P_BEGIN_START_DATETIE", typeof(System.DateTime)); |
60 |
|
61 |
var p_FINISH_START_DATETIMEParameter = p_FINISH_START_DATETIME.HasValue ? |
62 |
new ObjectParameter("P_FINISH_START_DATETIME", p_FINISH_START_DATETIME) : |
63 |
new ObjectParameter("P_FINISH_START_DATETIME", typeof(System.DateTime)); |
64 |
|
65 |
var p_BEGIN_END_DATETIMEParameter = p_BEGIN_END_DATETIME.HasValue ? |
66 |
new ObjectParameter("P_BEGIN_END_DATETIME", p_BEGIN_END_DATETIME) : |
67 |
new ObjectParameter("P_BEGIN_END_DATETIME", typeof(System.DateTime)); |
68 |
|
69 |
var p_FINISH_END_DATETIMEParameter = p_FINISH_END_DATETIME.HasValue ? |
70 |
new ObjectParameter("P_FINISH_END_DATETIME", p_FINISH_END_DATETIME) : |
71 |
new ObjectParameter("P_FINISH_END_DATETIME", typeof(System.DateTime)); |
72 |
|
73 |
var p_GROUP_NOParameter = p_GROUP_NO != null ? |
74 |
new ObjectParameter("P_GROUP_NO", p_GROUP_NO) : |
75 |
new ObjectParameter("P_GROUP_NO", typeof(string)); |
76 |
|
77 |
var p_DOCUMENT_NAMEParameter = p_DOCUMENT_NAME != null ? |
78 |
new ObjectParameter("P_DOCUMENT_NAME", p_DOCUMENT_NAME) : |
79 |
new ObjectParameter("P_DOCUMENT_NAME", typeof(string)); |
80 |
|
81 |
var p_DOCUMENT_NOParameter = p_DOCUMENT_NO != null ? |
82 |
new ObjectParameter("P_DOCUMENT_NO", p_DOCUMENT_NO) : |
83 |
new ObjectParameter("P_DOCUMENT_NO", typeof(string)); |
84 |
|
85 |
var p_REVISIONParameter = p_REVISION != null ? |
86 |
new ObjectParameter("P_REVISION", p_REVISION) : |
87 |
new ObjectParameter("P_REVISION", typeof(string)); |
88 |
|
89 |
return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction<SELECT_CONVERT_ITEM_Result>("markusEntities.SELECT_CONVERT_ITEM", 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); |
90 |
} |
91 |
|
92 |
public virtual ObjectResult<SELECT_RERECONVERT_ITEM_Result> SELECT_RERECONVERT_ITEM(string p_ID, Nullable<int> p_RECONVERTER, Nullable<int> p_STATUS) |
93 |
{ |
94 |
var p_IDParameter = p_ID != null ? |
95 |
new ObjectParameter("P_ID", p_ID) : |
96 |
new ObjectParameter("P_ID", typeof(string)); |
97 |
|
98 |
var p_RECONVERTERParameter = p_RECONVERTER.HasValue ? |
99 |
new ObjectParameter("P_RECONVERTER", p_RECONVERTER) : |
100 |
new ObjectParameter("P_RECONVERTER", typeof(int)); |
101 |
|
102 |
var p_STATUSParameter = p_STATUS.HasValue ? |
103 |
new ObjectParameter("P_STATUS", p_STATUS) : |
104 |
new ObjectParameter("P_STATUS", typeof(int)); |
105 |
|
106 |
return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction<SELECT_RERECONVERT_ITEM_Result>("markusEntities.SELECT_RERECONVERT_ITEM", p_IDParameter, p_RECONVERTERParameter, p_STATUSParameter); |
107 |
} |
108 |
} |
109 |
} |