..
This commit is contained in:
205
SubProject/FBS0000/dsMSSQL.Designer.cs
generated
205
SubProject/FBS0000/dsMSSQL.Designer.cs
generated
@@ -1200,6 +1200,8 @@ namespace FBS0000 {
|
||||
|
||||
private global::System.Data.DataColumn columnwdate;
|
||||
|
||||
private global::System.Data.DataColumn columntermDr;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public HolydayDataTable() {
|
||||
@@ -1353,6 +1355,14 @@ namespace FBS0000 {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public global::System.Data.DataColumn termDrColumn {
|
||||
get {
|
||||
return this.columntermDr;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
@@ -1390,7 +1400,7 @@ namespace FBS0000 {
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public HolydayRow AddHolydayRow(string cate, string result, System.DateTime sdate, System.DateTime edate, double term, string title, string contents, string uid, string tolist, bool mail, bool mailsend, string reason, string wuid, System.DateTime wdate) {
|
||||
public HolydayRow AddHolydayRow(string cate, string result, System.DateTime sdate, System.DateTime edate, double term, string title, string contents, string uid, string tolist, bool mail, bool mailsend, string reason, string wuid, System.DateTime wdate, double termDr) {
|
||||
HolydayRow rowHolydayRow = ((HolydayRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
null,
|
||||
@@ -1407,7 +1417,8 @@ namespace FBS0000 {
|
||||
mailsend,
|
||||
reason,
|
||||
wuid,
|
||||
wdate};
|
||||
wdate,
|
||||
termDr};
|
||||
rowHolydayRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowHolydayRow);
|
||||
return rowHolydayRow;
|
||||
@@ -1452,6 +1463,7 @@ namespace FBS0000 {
|
||||
this.columnreason = base.Columns["reason"];
|
||||
this.columnwuid = base.Columns["wuid"];
|
||||
this.columnwdate = base.Columns["wdate"];
|
||||
this.columntermDr = base.Columns["termDr"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -1487,6 +1499,8 @@ namespace FBS0000 {
|
||||
base.Columns.Add(this.columnwuid);
|
||||
this.columnwdate = new global::System.Data.DataColumn("wdate", typeof(global::System.DateTime), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnwdate);
|
||||
this.columntermDr = new global::System.Data.DataColumn("termDr", typeof(double), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columntermDr);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnidx}, true));
|
||||
this.columnidx.AutoIncrement = true;
|
||||
@@ -2348,11 +2362,11 @@ namespace FBS0000 {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool mail {
|
||||
get {
|
||||
try {
|
||||
return ((bool)(this[this.tableHolyday.mailColumn]));
|
||||
if (this.IsmailNull()) {
|
||||
return false;
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("\'Holyday\' 테이블의 \'mail\' 열의 값이 DBNull입니다.", e);
|
||||
else {
|
||||
return ((bool)(this[this.tableHolyday.mailColumn]));
|
||||
}
|
||||
}
|
||||
set {
|
||||
@@ -2364,11 +2378,11 @@ namespace FBS0000 {
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool mailsend {
|
||||
get {
|
||||
try {
|
||||
return ((bool)(this[this.tableHolyday.mailsendColumn]));
|
||||
if (this.IsmailsendNull()) {
|
||||
return false;
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("\'Holyday\' 테이블의 \'mailsend\' 열의 값이 DBNull입니다.", e);
|
||||
else {
|
||||
return ((bool)(this[this.tableHolyday.mailsendColumn]));
|
||||
}
|
||||
}
|
||||
set {
|
||||
@@ -2414,6 +2428,22 @@ namespace FBS0000 {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public double termDr {
|
||||
get {
|
||||
if (this.IstermDrNull()) {
|
||||
return 0D;
|
||||
}
|
||||
else {
|
||||
return ((double)(this[this.tableHolyday.termDrColumn]));
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableHolyday.termDrColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IscateNull() {
|
||||
@@ -2557,6 +2587,18 @@ namespace FBS0000 {
|
||||
public void SetreasonNull() {
|
||||
this[this.tableHolyday.reasonColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public bool IstermDrNull() {
|
||||
return this.IsNull(this.tableHolyday.termDrColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
|
||||
public void SettermDrNull() {
|
||||
this[this.tableHolyday.termDrColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -4077,10 +4119,11 @@ SELECT idx, bidx, header, cate, title, contents, [file], guid, wuid, wdate FROM
|
||||
tableMapping.ColumnMappings.Add("reason", "reason");
|
||||
tableMapping.ColumnMappings.Add("wuid", "wuid");
|
||||
tableMapping.ColumnMappings.Add("wdate", "wdate");
|
||||
tableMapping.ColumnMappings.Add("termDr", "termDr");
|
||||
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 [Holyday] WHERE (([idx] = @Original_idx) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_result = 1 AND [result] IS NULL) OR ([result] = @Original_result)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_term = 1 AND [term] IS NULL) OR ([term] = @Original_term)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_mail = 1 AND [mail] IS NULL) OR ([mail] = @Original_mail)) AND ((@IsNull_mailsend = 1 AND [mailsend] IS NULL) OR ([mailsend] = @Original_mailsend)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate))";
|
||||
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [Holyday] WHERE (([idx] = @Original_idx) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_result = 1 AND [result] IS NULL) OR ([result] = @Original_result)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_term = 1 AND [term] IS NULL) OR ([term] = @Original_term)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_mail = 1 AND [mail] IS NULL) OR ([mail] = @Original_mail)) AND ((@IsNull_mailsend = 1 AND [mailsend] IS NULL) OR ([mailsend] = @Original_mailsend)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_termDr = 1 AND [termDr] IS NULL) OR ([termDr] = @Original_termDr)))";
|
||||
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_cate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
@@ -4103,10 +4146,12 @@ SELECT idx, bidx, header, cate, title, contents, [file], guid, wuid, wdate FROM
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_mailsend", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailsend", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.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, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_termDr", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "termDr", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_termDr", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "termDr", 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 [Holyday] ([cate], [result], [sdate], [edate], [term], [title], [contents], [uid], [tolist], [mail], [mailsend], [reason], [wuid], [wdate]) VALUES (@cate, @result, @sdate, @edate, @term, @title, @contents, @uid, @tolist, @mail, @mailsend, @reason, @wuid, @wdate);
|
||||
SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail, mailsend, reason, wuid, wdate FROM Holyday WHERE (idx = SCOPE_IDENTITY()) ORDER BY sdate, edate";
|
||||
this._adapter.InsertCommand.CommandText = @"INSERT INTO [Holyday] ([cate], [result], [sdate], [edate], [term], [title], [contents], [uid], [tolist], [mail], [mailsend], [reason], [wuid], [wdate], [termDr]) VALUES (@cate, @result, @sdate, @edate, @term, @title, @contents, @uid, @tolist, @mail, @mailsend, @reason, @wuid, @wdate, @termDr);
|
||||
SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail, mailsend, reason, wuid, wdate, termDr FROM Holyday WHERE (idx = SCOPE_IDENTITY()) ORDER BY sdate, edate";
|
||||
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
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.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@result", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "result", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -4122,10 +4167,11 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@reason", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reason", 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, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@termDr", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "termDr", 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 [Holyday] SET [cate] = @cate, [result] = @result, [sdate] = @sdate, [edate] = @edate, [term] = @term, [title] = @title, [contents] = @contents, [uid] = @uid, [tolist] = @tolist, [mail] = @mail, [mailsend] = @mailsend, [reason] = @reason, [wuid] = @wuid, [wdate] = @wdate WHERE (([idx] = @Original_idx) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_result = 1 AND [result] IS NULL) OR ([result] = @Original_result)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_term = 1 AND [term] IS NULL) OR ([term] = @Original_term)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_mail = 1 AND [mail] IS NULL) OR ([mail] = @Original_mail)) AND ((@IsNull_mailsend = 1 AND [mailsend] IS NULL) OR ([mailsend] = @Original_mailsend)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate));
|
||||
SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail, mailsend, reason, wuid, wdate FROM Holyday WHERE (idx = @idx) ORDER BY sdate, edate";
|
||||
this._adapter.UpdateCommand.CommandText = @"UPDATE [Holyday] SET [cate] = @cate, [result] = @result, [sdate] = @sdate, [edate] = @edate, [term] = @term, [title] = @title, [contents] = @contents, [uid] = @uid, [tolist] = @tolist, [mail] = @mail, [mailsend] = @mailsend, [reason] = @reason, [wuid] = @wuid, [wdate] = @wdate, [termDr] = @termDr WHERE (([idx] = @Original_idx) AND ((@IsNull_cate = 1 AND [cate] IS NULL) OR ([cate] = @Original_cate)) AND ((@IsNull_result = 1 AND [result] IS NULL) OR ([result] = @Original_result)) AND ((@IsNull_sdate = 1 AND [sdate] IS NULL) OR ([sdate] = @Original_sdate)) AND ((@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_term = 1 AND [term] IS NULL) OR ([term] = @Original_term)) AND ((@IsNull_title = 1 AND [title] IS NULL) OR ([title] = @Original_title)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_mail = 1 AND [mail] IS NULL) OR ([mail] = @Original_mail)) AND ((@IsNull_mailsend = 1 AND [mailsend] IS NULL) OR ([mailsend] = @Original_mailsend)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_termDr = 1 AND [termDr] IS NULL) OR ([termDr] = @Original_termDr)));
|
||||
SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail, mailsend, reason, wuid, wdate, termDr FROM Holyday WHERE (idx = @idx) ORDER BY sdate, edate";
|
||||
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
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("@result", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "result", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -4141,6 +4187,7 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@reason", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reason", 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, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@termDr", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "termDr", 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_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, "", "", ""));
|
||||
@@ -4162,6 +4209,8 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_mailsend", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "mailsend", 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, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_termDr", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "termDr", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_termDr", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "termDr", 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, "", "", ""));
|
||||
}
|
||||
|
||||
@@ -4179,8 +4228,8 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail" +
|
||||
", mailsend, reason, wuid, wdate\r\nFROM Holyday\r\nWHERE (sdate >= @sd) AND (ed" +
|
||||
"ate <= @ed) AND (wuid LIKE @uid)\r\nORDER BY sdate, edate";
|
||||
", mailsend, reason, wuid, wdate, termDr\r\nFROM Holyday\r\nWHERE (sdate >= @sd)" +
|
||||
" AND (edate <= @ed) AND (wuid LIKE @uid)\r\nORDER BY sdate, edate";
|
||||
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.Date, 3, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@ed", global::System.Data.SqlDbType.Date, 3, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -4280,7 +4329,7 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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_cate, string Original_result, global::System.Nullable<global::System.DateTime> Original_sdate, global::System.Nullable<global::System.DateTime> Original_edate, global::System.Nullable<double> Original_term, string Original_title, string Original_uid, global::System.Nullable<bool> Original_mail, global::System.Nullable<bool> Original_mailsend, string Original_wuid, System.DateTime Original_wdate) {
|
||||
public virtual int Delete(int Original_idx, string Original_cate, string Original_result, global::System.Nullable<global::System.DateTime> Original_sdate, global::System.Nullable<global::System.DateTime> Original_edate, global::System.Nullable<double> Original_term, string Original_title, string Original_uid, global::System.Nullable<bool> Original_mail, global::System.Nullable<bool> Original_mailsend, string Original_wuid, System.DateTime Original_wdate, global::System.Nullable<double> Original_termDr) {
|
||||
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
|
||||
if ((Original_cate == null)) {
|
||||
this.Adapter.DeleteCommand.Parameters[1].Value = ((object)(1));
|
||||
@@ -4361,6 +4410,14 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail
|
||||
this.Adapter.DeleteCommand.Parameters[19].Value = ((string)(Original_wuid));
|
||||
}
|
||||
this.Adapter.DeleteCommand.Parameters[20].Value = ((System.DateTime)(Original_wdate));
|
||||
if ((Original_termDr.HasValue == true)) {
|
||||
this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(0));
|
||||
this.Adapter.DeleteCommand.Parameters[22].Value = ((double)(Original_termDr.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[21].Value = ((object)(1));
|
||||
this.Adapter.DeleteCommand.Parameters[22].Value = global::System.DBNull.Value;
|
||||
}
|
||||
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)) {
|
||||
@@ -4381,7 +4438,7 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.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 cate, string result, global::System.Nullable<global::System.DateTime> sdate, global::System.Nullable<global::System.DateTime> edate, global::System.Nullable<double> term, string title, string contents, string uid, string tolist, global::System.Nullable<bool> mail, global::System.Nullable<bool> mailsend, string reason, string wuid, System.DateTime wdate) {
|
||||
public virtual int Insert(string cate, string result, global::System.Nullable<global::System.DateTime> sdate, global::System.Nullable<global::System.DateTime> edate, global::System.Nullable<double> term, string title, string contents, string uid, string tolist, global::System.Nullable<bool> mail, global::System.Nullable<bool> mailsend, string reason, string wuid, System.DateTime wdate, global::System.Nullable<double> termDr) {
|
||||
if ((cate == null)) {
|
||||
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
|
||||
}
|
||||
@@ -4461,6 +4518,12 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail
|
||||
this.Adapter.InsertCommand.Parameters[12].Value = ((string)(wuid));
|
||||
}
|
||||
this.Adapter.InsertCommand.Parameters[13].Value = ((System.DateTime)(wdate));
|
||||
if ((termDr.HasValue == true)) {
|
||||
this.Adapter.InsertCommand.Parameters[14].Value = ((double)(termDr.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[14].Value = global::System.DBNull.Value;
|
||||
}
|
||||
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)) {
|
||||
@@ -4496,6 +4559,7 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail
|
||||
string reason,
|
||||
string wuid,
|
||||
System.DateTime wdate,
|
||||
global::System.Nullable<double> termDr,
|
||||
int Original_idx,
|
||||
string Original_cate,
|
||||
string Original_result,
|
||||
@@ -4508,6 +4572,7 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail
|
||||
global::System.Nullable<bool> Original_mailsend,
|
||||
string Original_wuid,
|
||||
System.DateTime Original_wdate,
|
||||
global::System.Nullable<double> Original_termDr,
|
||||
int idx) {
|
||||
if ((cate == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
|
||||
@@ -4588,87 +4653,101 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail
|
||||
this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(wuid));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[13].Value = ((System.DateTime)(wdate));
|
||||
this.Adapter.UpdateCommand.Parameters[14].Value = ((int)(Original_idx));
|
||||
if ((Original_cate == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[16].Value = global::System.DBNull.Value;
|
||||
if ((termDr.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[14].Value = ((double)(termDr.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[15].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[16].Value = ((string)(Original_cate));
|
||||
this.Adapter.UpdateCommand.Parameters[14].Value = global::System.DBNull.Value;
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[15].Value = ((int)(Original_idx));
|
||||
if ((Original_cate == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[17].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[16].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_cate));
|
||||
}
|
||||
if ((Original_result == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[18].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[19].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[17].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[18].Value = ((string)(Original_result));
|
||||
this.Adapter.UpdateCommand.Parameters[18].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[19].Value = ((string)(Original_result));
|
||||
}
|
||||
if ((Original_sdate.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[20].Value = ((System.DateTime)(Original_sdate.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[21].Value = ((System.DateTime)(Original_sdate.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[19].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[20].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[20].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[21].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_edate.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[22].Value = ((System.DateTime)(Original_edate.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[23].Value = ((System.DateTime)(Original_edate.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[21].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[22].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[22].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[23].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_term.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[24].Value = ((double)(Original_term.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[25].Value = ((double)(Original_term.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[23].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[24].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[24].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[25].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_title == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[26].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[27].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[25].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[26].Value = ((string)(Original_title));
|
||||
this.Adapter.UpdateCommand.Parameters[26].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[27].Value = ((string)(Original_title));
|
||||
}
|
||||
if ((Original_uid == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[28].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[27].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(Original_uid));
|
||||
this.Adapter.UpdateCommand.Parameters[28].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(Original_uid));
|
||||
}
|
||||
if ((Original_mail.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[30].Value = ((bool)(Original_mail.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[31].Value = ((bool)(Original_mail.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[29].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[30].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_mailsend.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[32].Value = ((bool)(Original_mailsend.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[33].Value = ((bool)(Original_mailsend.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_wuid == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_wuid");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Original_wuid));
|
||||
this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_wuid));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[34].Value = ((System.DateTime)(Original_wdate));
|
||||
this.Adapter.UpdateCommand.Parameters[35].Value = ((int)(idx));
|
||||
this.Adapter.UpdateCommand.Parameters[35].Value = ((System.DateTime)(Original_wdate));
|
||||
if ((Original_termDr.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[37].Value = ((double)(Original_termDr.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value;
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[38].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)) {
|
||||
@@ -4704,6 +4783,7 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail
|
||||
string reason,
|
||||
string wuid,
|
||||
System.DateTime wdate,
|
||||
global::System.Nullable<double> termDr,
|
||||
int Original_idx,
|
||||
string Original_cate,
|
||||
string Original_result,
|
||||
@@ -4715,8 +4795,9 @@ SELECT idx, cate, result, sdate, edate, term, title, contents, uid, tolist, mail
|
||||
global::System.Nullable<bool> Original_mail,
|
||||
global::System.Nullable<bool> Original_mailsend,
|
||||
string Original_wuid,
|
||||
System.DateTime Original_wdate) {
|
||||
return this.Update(cate, result, sdate, edate, term, title, contents, uid, tolist, mail, mailsend, reason, wuid, wdate, Original_idx, Original_cate, Original_result, Original_sdate, Original_edate, Original_term, Original_title, Original_uid, Original_mail, Original_mailsend, Original_wuid, Original_wdate, Original_idx);
|
||||
System.DateTime Original_wdate,
|
||||
global::System.Nullable<double> Original_termDr) {
|
||||
return this.Update(cate, result, sdate, edate, term, title, contents, uid, tolist, mail, mailsend, reason, wuid, wdate, termDr, Original_idx, Original_cate, Original_result, Original_sdate, Original_edate, Original_term, Original_title, Original_uid, Original_mail, Original_mailsend, Original_wuid, Original_wdate, Original_termDr, Original_idx);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user