📄 银行储蓄系统dataset4.designer.cs
字号:
[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(银行储蓄系统DataSet4 dataSet) {
return this.Adapter.Update(dataSet, "帐号信息");
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(System.Data.DataRow dataRow) {
return this.Adapter.Update(new System.Data.DataRow[] {
dataRow});
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public virtual int Update(System.Data.DataRow[] dataRows) {
return this.Adapter.Update(dataRows);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(string Original_用户帐号, string Original_类型, decimal Original_金额, double Original_利率, System.DateTime Original_期限, string Original_密码, System.DateTime Original_开户日期, decimal Original_利息, string Original_储户编号) {
if ((Original_用户帐号 == null)) {
throw new System.ArgumentNullException("Original_用户帐号");
}
else {
this.Adapter.DeleteCommand.Parameters[0].Value = ((string)(Original_用户帐号));
}
if ((Original_类型 == null)) {
throw new System.ArgumentNullException("Original_类型");
}
else {
this.Adapter.DeleteCommand.Parameters[1].Value = ((string)(Original_类型));
}
this.Adapter.DeleteCommand.Parameters[2].Value = ((decimal)(Original_金额));
this.Adapter.DeleteCommand.Parameters[3].Value = ((double)(Original_利率));
this.Adapter.DeleteCommand.Parameters[4].Value = ((System.DateTime)(Original_期限));
if ((Original_密码 == null)) {
throw new System.ArgumentNullException("Original_密码");
}
else {
this.Adapter.DeleteCommand.Parameters[5].Value = ((string)(Original_密码));
}
this.Adapter.DeleteCommand.Parameters[6].Value = ((System.DateTime)(Original_开户日期));
this.Adapter.DeleteCommand.Parameters[7].Value = ((decimal)(Original_利息));
if ((Original_储户编号 == null)) {
throw new System.ArgumentNullException("Original_储户编号");
}
else {
this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_储户编号));
}
System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & System.Data.ConnectionState.Open)
!= System.Data.ConnectionState.Open)) {
this.Adapter.DeleteCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.DeleteCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == System.Data.ConnectionState.Closed)) {
this.Adapter.DeleteCommand.Connection.Close();
}
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string 用户帐号, string 类型, decimal 金额, double 利率, System.DateTime 期限, string 密码, System.DateTime 开户日期, decimal 利息, string 储户编号) {
if ((用户帐号 == null)) {
throw new System.ArgumentNullException("用户帐号");
}
else {
this.Adapter.InsertCommand.Parameters[0].Value = ((string)(用户帐号));
}
if ((类型 == null)) {
throw new System.ArgumentNullException("类型");
}
else {
this.Adapter.InsertCommand.Parameters[1].Value = ((string)(类型));
}
this.Adapter.InsertCommand.Parameters[2].Value = ((decimal)(金额));
this.Adapter.InsertCommand.Parameters[3].Value = ((double)(利率));
this.Adapter.InsertCommand.Parameters[4].Value = ((System.DateTime)(期限));
if ((密码 == null)) {
throw new System.ArgumentNullException("密码");
}
else {
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(密码));
}
this.Adapter.InsertCommand.Parameters[6].Value = ((System.DateTime)(开户日期));
this.Adapter.InsertCommand.Parameters[7].Value = ((decimal)(利息));
if ((储户编号 == null)) {
throw new System.ArgumentNullException("储户编号");
}
else {
this.Adapter.InsertCommand.Parameters[8].Value = ((string)(储户编号));
}
System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & System.Data.ConnectionState.Open)
!= System.Data.ConnectionState.Open)) {
this.Adapter.InsertCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.InsertCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == System.Data.ConnectionState.Closed)) {
this.Adapter.InsertCommand.Connection.Close();
}
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(
string 用户帐号,
string 类型,
decimal 金额,
double 利率,
System.DateTime 期限,
string 密码,
System.DateTime 开户日期,
decimal 利息,
string 储户编号,
string Original_用户帐号,
string Original_类型,
decimal Original_金额,
double Original_利率,
System.DateTime Original_期限,
string Original_密码,
System.DateTime Original_开户日期,
decimal Original_利息,
string Original_储户编号) {
if ((用户帐号 == null)) {
throw new System.ArgumentNullException("用户帐号");
}
else {
this.Adapter.UpdateCommand.Parameters[0].Value = ((string)(用户帐号));
}
if ((类型 == null)) {
throw new System.ArgumentNullException("类型");
}
else {
this.Adapter.UpdateCommand.Parameters[1].Value = ((string)(类型));
}
this.Adapter.UpdateCommand.Parameters[2].Value = ((decimal)(金额));
this.Adapter.UpdateCommand.Parameters[3].Value = ((double)(利率));
this.Adapter.UpdateCommand.Parameters[4].Value = ((System.DateTime)(期限));
if ((密码 == null)) {
throw new System.ArgumentNullException("密码");
}
else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(密码));
}
this.Adapter.UpdateCommand.Parameters[6].Value = ((System.DateTime)(开户日期));
this.Adapter.UpdateCommand.Parameters[7].Value = ((decimal)(利息));
if ((储户编号 == null)) {
throw new System.ArgumentNullException("储户编号");
}
else {
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(储户编号));
}
if ((Original_用户帐号 == null)) {
throw new System.ArgumentNullException("Original_用户帐号");
}
else {
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_用户帐号));
}
if ((Original_类型 == null)) {
throw new System.ArgumentNullException("Original_类型");
}
else {
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_类型));
}
this.Adapter.UpdateCommand.Parameters[11].Value = ((decimal)(Original_金额));
this.Adapter.UpdateCommand.Parameters[12].Value = ((double)(Original_利率));
this.Adapter.UpdateCommand.Parameters[13].Value = ((System.DateTime)(Original_期限));
if ((Original_密码 == null)) {
throw new System.ArgumentNullException("Original_密码");
}
else {
this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_密码));
}
this.Adapter.UpdateCommand.Parameters[15].Value = ((System.DateTime)(Original_开户日期));
this.Adapter.UpdateCommand.Parameters[16].Value = ((decimal)(Original_利息));
if ((Original_储户编号 == null)) {
throw new System.ArgumentNullException("Original_储户编号");
}
else {
this.Adapter.UpdateCommand.Parameters[17].Value = ((string)(Original_储户编号));
}
System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & System.Data.ConnectionState.Open)
!= System.Data.ConnectionState.Open)) {
this.Adapter.UpdateCommand.Connection.Open();
}
try {
int returnValue = this.Adapter.UpdateCommand.ExecuteNonQuery();
return returnValue;
}
finally {
if ((previousConnectionState == System.Data.ConnectionState.Closed)) {
this.Adapter.UpdateCommand.Connection.Close();
}
}
}
}
}
#pragma warning restore 1591
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -