This commit is contained in:
chikyun.kim
2019-07-25 08:29:57 +09:00
parent 5c77244a45
commit ae209e00af
85 changed files with 21568 additions and 4313 deletions

View File

@@ -1636,6 +1636,7 @@ namespace Project {
this.columnidx.ReadOnly = true;
this.columnidx.Unique = true;
this.columnname.MaxLength = 50;
this.columnsid.AllowDBNull = false;
this.columnsid.MaxLength = 50;
this.columnmodel.MaxLength = 50;
this.columnmanu.MaxLength = 50;
@@ -3432,12 +3433,7 @@ namespace Project {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string sid {
get {
try {
return ((string)(this[this.tableItems.sidColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("\'Items\' 테이블의 \'sid\' 열의 값이 DBNull입니다.", e);
}
return ((string)(this[this.tableItems.sidColumn]));
}
set {
this[this.tableItems.sidColumn] = value;
@@ -3558,18 +3554,6 @@ namespace Project {
this[this.tableItems.nameColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IssidNull() {
return this.IsNull(this.tableItems.sidColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetsidNull() {
this[this.tableItems.sidColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsmodelNull() {
@@ -6604,8 +6588,7 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate FROM Items
this.Adapter.DeleteCommand.Parameters[2].Value = ((string)(Original_name));
}
if ((Original_sid == null)) {
this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[4].Value = global::System.DBNull.Value;
throw new global::System.ArgumentNullException("Original_sid");
}
else {
this.Adapter.DeleteCommand.Parameters[3].Value = ((object)(0));
@@ -6686,7 +6669,7 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate FROM Items
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(name));
}
if ((sid == null)) {
this.Adapter.InsertCommand.Parameters[1].Value = global::System.DBNull.Value;
throw new global::System.ArgumentNullException("sid");
}
else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(sid));
@@ -6776,7 +6759,7 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate FROM Items
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(name));
}
if ((sid == null)) {
this.Adapter.UpdateCommand.Parameters[1].Value = global::System.DBNull.Value;
throw new global::System.ArgumentNullException("sid");
}
else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(sid));
@@ -6828,8 +6811,7 @@ SELECT idx, name, sid, model, manu, supply, price, memo, wuid, wdate FROM Items
this.Adapter.UpdateCommand.Parameters[11].Value = ((string)(Original_name));
}
if ((Original_sid == null)) {
this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[13].Value = global::System.DBNull.Value;
throw new global::System.ArgumentNullException("Original_sid");
}
else {
this.Adapter.UpdateCommand.Parameters[12].Value = ((object)(0));