This commit is contained in:
chi
2021-12-06 09:38:55 +09:00
parent bd3d521620
commit f8c03784e6
22 changed files with 3418 additions and 400 deletions

View File

@@ -9703,6 +9703,8 @@ namespace FPJ0000 {
private global::System.Data.DataColumn columnno;
private global::System.Data.DataColumn columncate;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public EETGW_ProjectsScheduleDataTable() {
@@ -9864,6 +9866,14 @@ namespace FPJ0000 {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn cateColumn {
get {
return this.columncate;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -9901,7 +9911,23 @@ namespace FPJ0000 {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public EETGW_ProjectsScheduleRow AddEETGW_ProjectsScheduleRow(string gcode, int project, int seq, string title, int sw, int ew, int swa, int ewa, string memo, int progress, string wuid, System.DateTime wdate, string uid, int appoval, int no) {
public EETGW_ProjectsScheduleRow AddEETGW_ProjectsScheduleRow(
string gcode,
int project,
int seq,
string title,
string sw,
string ew,
string swa,
string ewa,
string memo,
int progress,
string wuid,
System.DateTime wdate,
string uid,
int appoval,
int no,
string cate) {
EETGW_ProjectsScheduleRow rowEETGW_ProjectsScheduleRow = ((EETGW_ProjectsScheduleRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -9919,7 +9945,8 @@ namespace FPJ0000 {
wdate,
uid,
appoval,
no};
no,
cate};
rowEETGW_ProjectsScheduleRow.ItemArray = columnValuesArray;
this.Rows.Add(rowEETGW_ProjectsScheduleRow);
return rowEETGW_ProjectsScheduleRow;
@@ -9965,6 +9992,7 @@ namespace FPJ0000 {
this.columnuid = base.Columns["uid"];
this.columnappoval = base.Columns["appoval"];
this.columnno = base.Columns["no"];
this.columncate = base.Columns["cate"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -9980,13 +10008,13 @@ namespace FPJ0000 {
base.Columns.Add(this.columnseq);
this.columntitle = new global::System.Data.DataColumn("title", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columntitle);
this.columnsw = new global::System.Data.DataColumn("sw", typeof(int), null, global::System.Data.MappingType.Element);
this.columnsw = new global::System.Data.DataColumn("sw", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnsw);
this.columnew = new global::System.Data.DataColumn("ew", typeof(int), null, global::System.Data.MappingType.Element);
this.columnew = new global::System.Data.DataColumn("ew", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnew);
this.columnswa = new global::System.Data.DataColumn("swa", typeof(int), null, global::System.Data.MappingType.Element);
this.columnswa = new global::System.Data.DataColumn("swa", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnswa);
this.columnewa = new global::System.Data.DataColumn("ewa", typeof(int), null, global::System.Data.MappingType.Element);
this.columnewa = new global::System.Data.DataColumn("ewa", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnewa);
this.columnmemo = new global::System.Data.DataColumn("memo", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnmemo);
@@ -10002,6 +10030,8 @@ namespace FPJ0000 {
base.Columns.Add(this.columnappoval);
this.columnno = new global::System.Data.DataColumn("no", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnno);
this.columncate = new global::System.Data.DataColumn("cate", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columncate);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnidx}, true));
this.columnidx.AutoIncrement = true;
@@ -10017,6 +10047,7 @@ namespace FPJ0000 {
this.columnwuid.MaxLength = 20;
this.columnwdate.AllowDBNull = false;
this.columnuid.MaxLength = 50;
this.columncate.MaxLength = 20;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -19517,13 +19548,13 @@ namespace FPJ0000 {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public int sw {
public string sw {
get {
if (this.IsswNull()) {
return 0;
return "0-0";
}
else {
return ((int)(this[this.tableEETGW_ProjectsSchedule.swColumn]));
return ((string)(this[this.tableEETGW_ProjectsSchedule.swColumn]));
}
}
set {
@@ -19533,13 +19564,13 @@ namespace FPJ0000 {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public int ew {
public string ew {
get {
if (this.IsewNull()) {
return 0;
return "0-0";
}
else {
return ((int)(this[this.tableEETGW_ProjectsSchedule.ewColumn]));
return ((string)(this[this.tableEETGW_ProjectsSchedule.ewColumn]));
}
}
set {
@@ -19549,13 +19580,13 @@ namespace FPJ0000 {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public int swa {
public string swa {
get {
if (this.IsswaNull()) {
return 0;
return "0-0";
}
else {
return ((int)(this[this.tableEETGW_ProjectsSchedule.swaColumn]));
return ((string)(this[this.tableEETGW_ProjectsSchedule.swaColumn]));
}
}
set {
@@ -19565,13 +19596,13 @@ namespace FPJ0000 {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public int ewa {
public string ewa {
get {
if (this.IsewaNull()) {
return 0;
return "0-0";
}
else {
return ((int)(this[this.tableEETGW_ProjectsSchedule.ewaColumn]));
return ((string)(this[this.tableEETGW_ProjectsSchedule.ewaColumn]));
}
}
set {
@@ -19681,6 +19712,22 @@ namespace FPJ0000 {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string cate {
get {
if (this.IscateNull()) {
return string.Empty;
}
else {
return ((string)(this[this.tableEETGW_ProjectsSchedule.cateColumn]));
}
}
set {
this[this.tableEETGW_ProjectsSchedule.cateColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsgcodeNull() {
@@ -19836,6 +19883,18 @@ namespace FPJ0000 {
public void SetnoNull() {
this[this.tableEETGW_ProjectsSchedule.noColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IscateNull() {
return this.IsNull(this.tableEETGW_ProjectsSchedule.cateColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetcateNull() {
this[this.tableEETGW_ProjectsSchedule.cateColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
@@ -34717,10 +34776,11 @@ WHERE (gcode = @gcode)";
tableMapping.ColumnMappings.Add("uid", "uid");
tableMapping.ColumnMappings.Add("appoval", "appoval");
tableMapping.ColumnMappings.Add("no", "no");
tableMapping.ColumnMappings.Add("cate", "cate");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [EETGW_ProjectsSchedule] WHERE (([idx] = @Original_idx) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_seq = 1 AND [seq] IS NULL) OR ([seq] = @Original_seq)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_sw = 1 AND [sw] IS NULL) OR ([sw] = @Original_sw)) AND ((@IsNull_ew = 1 AND [ew] IS NULL) OR ([ew] = @Original_ew)) AND ((@IsNull_swa = 1 AND [swa] IS NULL) OR ([swa] = @Original_swa)) AND ((@IsNull_ewa = 1 AND [ewa] IS NULL) OR ([ewa] = @Original_ewa)) AND ((@IsNull_progress = 1 AND [progress] IS NULL) OR ([progress] = @Original_progress)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_appoval = 1 AND [appoval] IS NULL) OR ([appoval] = @Original_appoval)) AND ((@IsNull_no = 1 AND [no] IS NULL) OR ([no] = @Original_no)))";
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [EETGW_ProjectsSchedule] WHERE (([idx] = @Original_idx) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_seq = 1 AND [seq] IS NULL) OR ([seq] = @Original_seq)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_sw = 1 AND [sw] IS NULL) OR ([sw] = @Original_sw)) AND ((@IsNull_ew = 1 AND [ew] IS NULL) OR ([ew] = @Original_ew)) AND ((@IsNull_swa = 1 AND [swa] IS NULL) OR ([swa] = @Original_swa)) AND ((@IsNull_ewa = 1 AND [ewa] IS NULL) OR ([ewa] = @Original_ewa)) AND ((@IsNull_progress = 1 AND [progress] IS NULL) OR ([progress] = @Original_progress)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_appoval = 1 AND [appoval] IS NULL) OR ([appoval] = @Original_appoval)) AND ((@IsNull_no = 1 AND [no] IS NULL) OR ([no] = @Original_no)) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_gcode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
@@ -34749,19 +34809,21 @@ WHERE (gcode = @gcode)";
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_appoval", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "appoval", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = @"INSERT INTO [EETGW_ProjectsSchedule] ([gcode], [project], [seq], [title], [sw], [ew], [swa], [ewa], [memo], [progress], [wuid], [wdate], [uid], [appoval], [no]) VALUES (@gcode, @project, @seq, @title, @sw, @ew, @swa, @ewa, @memo, @progress, @wuid, @wdate, @uid, @appoval, @no);
SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, wdate, uid, appoval, no FROM EETGW_ProjectsSchedule WHERE (idx = SCOPE_IDENTITY()) ORDER BY seq";
this._adapter.InsertCommand.CommandText = @"INSERT INTO [EETGW_ProjectsSchedule] ([gcode], [project], [seq], [title], [sw], [ew], [swa], [ewa], [memo], [progress], [wuid], [wdate], [uid], [appoval], [no], [cate]) VALUES (@gcode, @project, @seq, @title, @sw, @ew, @swa, @ewa, @memo, @progress, @wuid, @wdate, @uid, @appoval, @no, @cate);
SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, wdate, uid, appoval, no, cate FROM EETGW_ProjectsSchedule WHERE (idx = SCOPE_IDENTITY()) ORDER BY seq";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@seq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "seq", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@title", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sw", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sw", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ew", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ew", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@swa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "swa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ewa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ewa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sw", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sw", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ew", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ew", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@swa", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "swa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ewa", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ewa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@progress", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "progress", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -34769,19 +34831,37 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@appoval", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "appoval", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = @"UPDATE [EETGW_ProjectsSchedule] SET [gcode] = @gcode, [project] = @project, [seq] = @seq, [title] = @title, [sw] = @sw, [ew] = @ew, [swa] = @swa, [ewa] = @ewa, [memo] = @memo, [progress] = @progress, [wuid] = @wuid, [wdate] = @wdate, [uid] = @uid, [appoval] = @appoval, [no] = @no WHERE (([idx] = @Original_idx) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcode)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_project)) AND ((@IsNull_seq = 1 AND [seq] IS NULL) OR ([seq] = @Original_seq)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_sw = 1 AND [sw] IS NULL) OR ([sw] = @Original_sw)) AND ((@IsNull_ew = 1 AND [ew] IS NULL) OR ([ew] = @Original_ew)) AND ((@IsNull_swa = 1 AND [swa] IS NULL) OR ([swa] = @Original_swa)) AND ((@IsNull_ewa = 1 AND [ewa] IS NULL) OR ([ewa] = @Original_ewa)) AND ((@IsNull_progress = 1 AND [progress] IS NULL) OR ([progress] = @Original_progress)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_appoval = 1 AND [appoval] IS NULL) OR ([appoval] = @Original_appoval)) AND ((@IsNull_no = 1 AND [no] IS NULL) OR ([no] = @Original_no)));
SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, wdate, uid, appoval, no FROM EETGW_ProjectsSchedule WHERE (idx = @idx) ORDER BY seq";
this._adapter.UpdateCommand.CommandText = "UPDATE [EETGW_ProjectsSchedule] SET [gcode] = @gcode, [project] = @project, [seq]" +
" = @seq, [title] = @title, [sw] = @sw, [ew] = @ew, [swa] = @swa, [ewa] = @ewa, [" +
"memo] = @memo, [progress] = @progress, [wuid] = @wuid, [wdate] = @wdate, [uid] =" +
" @uid, [appoval] = @appoval, [no] = @no, [cate] = @cate WHERE (([idx] = @Origina" +
"l_idx) AND ((@IsNull_gcode = 1 AND [gcode] IS NULL) OR ([gcode] = @Original_gcod" +
"e)) AND ((@IsNull_project = 1 AND [project] IS NULL) OR ([project] = @Original_p" +
"roject)) AND ((@IsNull_seq = 1 AND [seq] IS NULL) OR ([seq] = @Original_seq)) AN" +
"D ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND (" +
"(@IsNull_sw = 1 AND [sw] IS NULL) OR ([sw] = @Original_sw)) AND ((@IsNull_ew = 1" +
" AND [ew] IS NULL) OR ([ew] = @Original_ew)) AND ((@IsNull_swa = 1 AND [swa] IS " +
"NULL) OR ([swa] = @Original_swa)) AND ((@IsNull_ewa = 1 AND [ewa] IS NULL) OR ([" +
"ewa] = @Original_ewa)) AND ((@IsNull_progress = 1 AND [progress] IS NULL) OR ([p" +
"rogress] = @Original_progress)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Or" +
"iginal_wdate) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid" +
")) AND ((@IsNull_appoval = 1 AND [appoval] IS NULL) OR ([appoval] = @Original_ap" +
"poval)) AND ((@IsNull_no = 1 AND [no] IS NULL) OR ([no] = @Original_no)) AND ((@" +
"IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)));\r\nSELECT idx," +
" gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, wdate, uid," +
" appoval, no, cate FROM EETGW_ProjectsSchedule WHERE (idx = @idx) ORDER BY seq";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@seq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "seq", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@title", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sw", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sw", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ew", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ew", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@swa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "swa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ewa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ewa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sw", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sw", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ew", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ew", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@swa", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "swa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ewa", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ewa", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@progress", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "progress", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -34789,6 +34869,7 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@uid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "uid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@appoval", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "appoval", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_gcode", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
@@ -34798,14 +34879,14 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_seq", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "seq", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_title", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_title", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "title", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sw", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sw", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sw", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sw", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ew", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ew", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ew", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ew", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_swa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "swa", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_swa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "swa", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ewa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ewa", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ewa", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ewa", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sw", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sw", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sw", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sw", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ew", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ew", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ew", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ew", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_swa", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "swa", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_swa", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "swa", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ewa", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ewa", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ewa", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ewa", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_progress", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "progress", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_progress", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "progress", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
@@ -34816,6 +34897,8 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_appoval", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "appoval", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_no", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "no", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
@@ -34833,8 +34916,8 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, " +
"wdate, uid, appoval, no\r\nFROM EETGW_ProjectsSchedule\r\nWHERE (gcode = @gcode" +
") AND (project = @project) AND (no = @no)\r\nORDER BY seq";
"wdate, uid, appoval, no, cate\r\nFROM EETGW_ProjectsSchedule\r\nWHERE (gcode = " +
"@gcode) AND (project = @project) AND (no = @no)\r\nORDER BY seq";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@project", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "project", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -34934,7 +35017,23 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(int Original_idx, string Original_gcode, global::System.Nullable<int> Original_project, global::System.Nullable<int> Original_seq, string Original_title, global::System.Nullable<int> Original_sw, global::System.Nullable<int> Original_ew, global::System.Nullable<int> Original_swa, global::System.Nullable<int> Original_ewa, global::System.Nullable<int> Original_progress, string Original_wuid, System.DateTime Original_wdate, string Original_uid, global::System.Nullable<int> Original_appoval, global::System.Nullable<int> Original_no) {
public virtual int Delete(
int Original_idx,
string Original_gcode,
global::System.Nullable<int> Original_project,
global::System.Nullable<int> Original_seq,
string Original_title,
global::System.Nullable<int> Original_sw,
global::System.Nullable<int> Original_ew,
global::System.Nullable<int> Original_swa,
global::System.Nullable<int> Original_ewa,
global::System.Nullable<int> Original_progress,
string Original_wuid,
System.DateTime Original_wdate,
string Original_uid,
global::System.Nullable<int> Original_appoval,
global::System.Nullable<int> Original_no,
string Original_cate) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
if ((Original_gcode == null)) {
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
@@ -35039,6 +35138,14 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
this.Adapter.DeleteCommand.Parameters[25].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[26].Value = global::System.DBNull.Value;
}
if ((Original_cate == null)) {
this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[28].Value = global::System.DBNull.Value;
}
else {
this.Adapter.DeleteCommand.Parameters[27].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[28].Value = ((string)(Original_cate));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -35059,7 +35166,23 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string gcode, global::System.Nullable<int> project, global::System.Nullable<int> seq, string title, global::System.Nullable<int> sw, global::System.Nullable<int> ew, global::System.Nullable<int> swa, global::System.Nullable<int> ewa, string memo, global::System.Nullable<int> progress, string wuid, System.DateTime wdate, string uid, global::System.Nullable<int> appoval, global::System.Nullable<int> no) {
public virtual int Insert(
string gcode,
global::System.Nullable<int> project,
global::System.Nullable<int> seq,
string title,
string sw,
string ew,
string swa,
string ewa,
string memo,
global::System.Nullable<int> progress,
string wuid,
System.DateTime wdate,
string uid,
global::System.Nullable<int> appoval,
global::System.Nullable<int> no,
string cate) {
if ((gcode == null)) {
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
}
@@ -35084,29 +35207,29 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
else {
this.Adapter.InsertCommand.Parameters[3].Value = ((string)(title));
}
if ((sw.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[4].Value = ((int)(sw.Value));
}
else {
if ((sw == null)) {
this.Adapter.InsertCommand.Parameters[4].Value = global::System.DBNull.Value;
}
if ((ew.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[5].Value = ((int)(ew.Value));
}
else {
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(sw));
}
if ((ew == null)) {
this.Adapter.InsertCommand.Parameters[5].Value = global::System.DBNull.Value;
}
if ((swa.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[6].Value = ((int)(swa.Value));
}
else {
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(ew));
}
if ((swa == null)) {
this.Adapter.InsertCommand.Parameters[6].Value = global::System.DBNull.Value;
}
if ((ewa.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[7].Value = ((int)(ewa.Value));
else {
this.Adapter.InsertCommand.Parameters[6].Value = ((string)(swa));
}
if ((ewa == null)) {
this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[7].Value = global::System.DBNull.Value;
this.Adapter.InsertCommand.Parameters[7].Value = ((string)(ewa));
}
if ((memo == null)) {
this.Adapter.InsertCommand.Parameters[8].Value = global::System.DBNull.Value;
@@ -35145,6 +35268,12 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
else {
this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
}
if ((cate == null)) {
this.Adapter.InsertCommand.Parameters[15].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[15].Value = ((string)(cate));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -35170,10 +35299,10 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
global::System.Nullable<int> project,
global::System.Nullable<int> seq,
string title,
global::System.Nullable<int> sw,
global::System.Nullable<int> ew,
global::System.Nullable<int> swa,
global::System.Nullable<int> ewa,
string sw,
string ew,
string swa,
string ewa,
string memo,
global::System.Nullable<int> progress,
string wuid,
@@ -35181,21 +35310,23 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
string uid,
global::System.Nullable<int> appoval,
global::System.Nullable<int> no,
string cate,
int Original_idx,
string Original_gcode,
global::System.Nullable<int> Original_project,
global::System.Nullable<int> Original_seq,
string Original_title,
global::System.Nullable<int> Original_sw,
global::System.Nullable<int> Original_ew,
global::System.Nullable<int> Original_swa,
global::System.Nullable<int> Original_ewa,
string Original_sw,
string Original_ew,
string Original_swa,
string Original_ewa,
global::System.Nullable<int> Original_progress,
string Original_wuid,
System.DateTime Original_wdate,
string Original_uid,
global::System.Nullable<int> Original_appoval,
global::System.Nullable<int> Original_no,
string Original_cate,
int idx) {
if ((gcode == null)) {
this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
@@ -35221,29 +35352,29 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
else {
this.Adapter.UpdateCommand.Parameters[3].Value = ((string)(title));
}
if ((sw.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[4].Value = ((int)(sw.Value));
}
else {
if ((sw == null)) {
this.Adapter.UpdateCommand.Parameters[4].Value = global::System.DBNull.Value;
}
if ((ew.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[5].Value = ((int)(ew.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(sw));
}
if ((ew == null)) {
this.Adapter.UpdateCommand.Parameters[5].Value = global::System.DBNull.Value;
}
if ((swa.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[6].Value = ((int)(swa.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(ew));
}
if ((swa == null)) {
this.Adapter.UpdateCommand.Parameters[6].Value = global::System.DBNull.Value;
}
if ((ewa.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[7].Value = ((int)(ewa.Value));
else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(swa));
}
if ((ewa == null)) {
this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[7].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(ewa));
}
if ((memo == null)) {
this.Adapter.UpdateCommand.Parameters[8].Value = global::System.DBNull.Value;
@@ -35282,111 +35413,125 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
else {
this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
}
this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(Original_idx));
if ((Original_gcode == null)) {
this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
if ((cate == null)) {
this.Adapter.UpdateCommand.Parameters[15].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_gcode));
this.Adapter.UpdateCommand.Parameters[15].Value = ((string)(cate));
}
this.Adapter.UpdateCommand.Parameters[16].Value = ((int)(Original_idx));
if ((Original_gcode == null)) {
this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(Original_gcode));
}
if ((Original_project.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[19].Value = ((int)(Original_project.Value));
this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[20].Value = ((int)(Original_project.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
}
if ((Original_seq.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[21].Value = ((int)(Original_seq.Value));
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[22].Value = ((int)(Original_seq.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
}
if ((Original_title == null)) {
this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[23].Value = ((string)(Original_title));
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[24].Value = ((string)(Original_title));
}
if ((Original_sw.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[25].Value = ((int)(Original_sw.Value));
if ((Original_sw == null)) {
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_sw));
}
if ((Original_ew.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[27].Value = ((int)(Original_ew.Value));
if ((Original_ew == null)) {
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_ew));
}
if ((Original_swa.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[29].Value = ((int)(Original_swa.Value));
if ((Original_swa == null)) {
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_swa));
}
if ((Original_ewa.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(Original_ewa.Value));
if ((Original_ewa == null)) {
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_ewa));
}
if ((Original_progress.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[33].Value = ((int)(Original_progress.Value));
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[34].Value = ((int)(Original_progress.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
}
if ((Original_wuid == null)) {
throw new global::System.ArgumentNullException("Original_wuid");
}
else {
this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_wuid));
this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(Original_wuid));
}
this.Adapter.UpdateCommand.Parameters[35].Value = ((System.DateTime)(Original_wdate));
this.Adapter.UpdateCommand.Parameters[36].Value = ((System.DateTime)(Original_wdate));
if ((Original_uid == null)) {
this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(Original_uid));
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_uid));
}
if ((Original_appoval.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[39].Value = ((int)(Original_appoval.Value));
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[40].Value = ((int)(Original_appoval.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
}
if ((Original_no.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[41].Value = ((int)(Original_no.Value));
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[42].Value = ((int)(Original_no.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value;
}
this.Adapter.UpdateCommand.Parameters[42].Value = ((int)(idx));
if ((Original_cate == null)) {
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Original_cate));
}
this.Adapter.UpdateCommand.Parameters[45].Value = ((int)(idx));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -35412,10 +35557,10 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
global::System.Nullable<int> project,
global::System.Nullable<int> seq,
string title,
global::System.Nullable<int> sw,
global::System.Nullable<int> ew,
global::System.Nullable<int> swa,
global::System.Nullable<int> ewa,
string sw,
string ew,
string swa,
string ewa,
string memo,
global::System.Nullable<int> progress,
string wuid,
@@ -35423,22 +35568,24 @@ SELECT idx, gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid,
string uid,
global::System.Nullable<int> appoval,
global::System.Nullable<int> no,
string cate,
int Original_idx,
string Original_gcode,
global::System.Nullable<int> Original_project,
global::System.Nullable<int> Original_seq,
string Original_title,
global::System.Nullable<int> Original_sw,
global::System.Nullable<int> Original_ew,
global::System.Nullable<int> Original_swa,
global::System.Nullable<int> Original_ewa,
string Original_sw,
string Original_ew,
string Original_swa,
string Original_ewa,
global::System.Nullable<int> Original_progress,
string Original_wuid,
System.DateTime Original_wdate,
string Original_uid,
global::System.Nullable<int> Original_appoval,
global::System.Nullable<int> Original_no) {
return this.Update(gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, wdate, uid, appoval, no, Original_idx, Original_gcode, Original_project, Original_seq, Original_title, Original_sw, Original_ew, Original_swa, Original_ewa, Original_progress, Original_wuid, Original_wdate, Original_uid, Original_appoval, Original_no, Original_idx);
global::System.Nullable<int> Original_no,
string Original_cate) {
return this.Update(gcode, project, seq, title, sw, ew, swa, ewa, memo, progress, wuid, wdate, uid, appoval, no, cate, Original_idx, Original_gcode, Original_project, Original_seq, Original_title, Original_sw, Original_ew, Original_swa, Original_ewa, Original_progress, Original_wuid, Original_wdate, Original_uid, Original_appoval, Original_no, Original_cate, Original_idx);
}
}