📄 testdataset2.designer.cs
字号:
}
namespace ServiceControlLibrary1.testDataSet2TableAdapters {
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "2.0.0.0")]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.ComponentModel.ToolboxItem(true)]
[System.ComponentModel.DataObjectAttribute(true)]
[System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class 服务管理信息TableAdapter : System.ComponentModel.Component {
private System.Data.SqlClient.SqlDataAdapter _adapter;
private System.Data.SqlClient.SqlConnection _connection;
private System.Data.SqlClient.SqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public 服务管理信息TableAdapter() {
this.ClearBeforeFill = true;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private System.Data.SqlClient.SqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal System.Data.SqlClient.SqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected System.Data.SqlClient.SqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitAdapter() {
this._adapter = new System.Data.SqlClient.SqlDataAdapter();
System.Data.Common.DataTableMapping tableMapping = new System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "服务管理信息";
tableMapping.ColumnMappings.Add("服务编号", "服务编号");
tableMapping.ColumnMappings.Add("服务名称", "服务名称");
tableMapping.ColumnMappings.Add("服务类别", "服务类别");
tableMapping.ColumnMappings.Add("内容", "内容");
tableMapping.ColumnMappings.Add("委托人", "委托人");
tableMapping.ColumnMappings.Add("受托人", "受托人");
tableMapping.ColumnMappings.Add("数量", "数量");
tableMapping.ColumnMappings.Add("委托时间", "委托时间");
tableMapping.ColumnMappings.Add("预期完成时间", "预期完成时间");
tableMapping.ColumnMappings.Add("时间说明", "时间说明");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[服务管理信息] WHERE (([服务编号] = @Original_服务编号) AND ((@IsNull_服务名称 = 1 AND [服务名称] IS NULL) OR ([服务名称] = @Original_服务名称)) AND ((@IsNull_服务类别 = 1 AND [服务类别] IS NULL) OR ([服务类别] = @Original_服务类别)) AND ((@IsNull_内容 = 1 AND [内容] IS NULL) OR ([内容] = @Original_内容)) AND ((@IsNull_委托人 = 1 AND [委托人] IS NULL) OR ([委托人] = @Original_委托人)) AND ((@IsNull_受托人 = 1 AND [受托人] IS NULL) OR ([受托人] = @Original_受托人)) AND ((@IsNull_数量 = 1 AND [数量] IS NULL) OR ([数量] = @Original_数量)) AND ((@IsNull_委托时间 = 1 AND [委托时间] IS NULL) OR ([委托时间] = @Original_委托时间)) AND ((@IsNull_预期完成时间 = 1 AND [预期完成时间] IS NULL) OR ([预期完成时间] = @Original_预期完成时间)) AND ((@IsNull_时间说明 = 1 AND [时间说明] IS NULL) OR ([时间说明] = @Original_时间说明)))";
this._adapter.DeleteCommand.CommandType = System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_服务编号", System.Data.SqlDbType.BigInt, 0, System.Data.ParameterDirection.Input, 0, 0, "服务编号", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_服务名称", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "服务名称", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_服务名称", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "服务名称", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_服务类别", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "服务类别", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_服务类别", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "服务类别", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_内容", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "内容", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_内容", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "内容", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_委托人", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "委托人", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_委托人", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "委托人", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_受托人", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "受托人", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_受托人", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "受托人", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_数量", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "数量", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_数量", System.Data.SqlDbType.BigInt, 0, System.Data.ParameterDirection.Input, 0, 0, "数量", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_委托时间", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "委托时间", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_委托时间", System.Data.SqlDbType.DateTime, 0, System.Data.ParameterDirection.Input, 0, 0, "委托时间", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_预期完成时间", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "预期完成时间", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_预期完成时间", System.Data.SqlDbType.DateTime, 0, System.Data.ParameterDirection.Input, 0, 0, "预期完成时间", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_时间说明", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "时间说明", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_时间说明", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "时间说明", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[服务管理信息] ([服务编号], [服务名称], [服务类别], [内容], [委托人], [受托人], [数量], [委托时间], [预期完成时间], [时间说明]) VALUES (@服务编号, @服务名称, @服务类别, @内容, @委托人, @受托人, @数量, @委托时间, @预期完成时间, @时间说明);
SELECT 服务编号, 服务名称, 服务类别, 内容, 委托人, 受托人, 数量, 委托时间, 预期完成时间, 时间说明 FROM 服务管理信息 WHERE (服务编号 = @服务编号)";
this._adapter.InsertCommand.CommandType = System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@服务编号", System.Data.SqlDbType.BigInt, 0, System.Data.ParameterDirection.Input, 0, 0, "服务编号", System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@服务名称", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "服务名称", System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@服务类别", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "服务类别", System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@内容", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "内容", System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@委托人", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "委托人", System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@受托人", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "受托人", System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@数量", System.Data.SqlDbType.BigInt, 0, System.Data.ParameterDirection.Input, 0, 0, "数量", System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@委托时间", System.Data.SqlDbType.DateTime, 0, System.Data.ParameterDirection.Input, 0, 0, "委托时间", System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@预期完成时间", System.Data.SqlDbType.DateTime, 0, System.Data.ParameterDirection.Input, 0, 0, "预期完成时间", System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@时间说明", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "时间说明", System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[服务管理信息] SET [服务编号] = @服务编号, [服务名称] = @服务名称, [服务类别] = @服务类别, [内容] = @内容, [委托人] = @委托人, [受托人] = @受托人, [数量] = @数量, [委托时间] = @委托时间, [预期完成时间] = @预期完成时间, [时间说明] = @时间说明 WHERE (([服务编号] = @Original_服务编号) AND ((@IsNull_服务名称 = 1 AND [服务名称] IS NULL) OR ([服务名称] = @Original_服务名称)) AND ((@IsNull_服务类别 = 1 AND [服务类别] IS NULL) OR ([服务类别] = @Original_服务类别)) AND ((@IsNull_内容 = 1 AND [内容] IS NULL) OR ([内容] = @Original_内容)) AND ((@IsNull_委托人 = 1 AND [委托人] IS NULL) OR ([委托人] = @Original_委托人)) AND ((@IsNull_受托人 = 1 AND [受托人] IS NULL) OR ([受托人] = @Original_受托人)) AND ((@IsNull_数量 = 1 AND [数量] IS NULL) OR ([数量] = @Original_数量)) AND ((@IsNull_委托时间 = 1 AND [委托时间] IS NULL) OR ([委托时间] = @Original_委托时间)) AND ((@IsNull_预期完成时间 = 1 AND [预期完成时间] IS NULL) OR ([预期完成时间] = @Original_预期完成时间)) AND ((@IsNull_时间说明 = 1 AND [时间说明] IS NULL) OR ([时间说明] = @Original_时间说明)));
SELECT 服务编号, 服务名称, 服务类别, 内容, 委托人, 受托人, 数量, 委托时间, 预期完成时间, 时间说明 FROM 服务管理信息 WHERE (服务编号 = @服务编号)";
this._adapter.UpdateCommand.CommandType = System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@服务编号", System.Data.SqlDbType.BigInt, 0, System.Data.ParameterDirection.Input, 0, 0, "服务编号", System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@服务名称", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "服务名称", System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@服务类别", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "服务类别", System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@内容", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "内容", System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@委托人", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "委托人", System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@受托人", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "受托人", System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@数量", System.Data.SqlDbType.BigInt, 0, System.Data.ParameterDirection.Input, 0, 0, "数量", System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@委托时间", System.Data.SqlDbType.DateTime, 0, System.Data.ParameterDirection.Input, 0, 0, "委托时间", System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@预期完成时间", System.Data.SqlDbType.DateTime, 0, System.Data.ParameterDirection.Input, 0, 0, "预期完成时间", System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@时间说明", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "时间说明", System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_服务编号", System.Data.SqlDbType.BigInt, 0, System.Data.ParameterDirection.Input, 0, 0, "服务编号", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_服务名称", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "服务名称", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_服务名称", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "服务名称", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_服务类别", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "服务类别", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_服务类别", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "服务类别", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_内容", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "内容", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_内容", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "内容", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_委托人", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "委托人", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_委托人", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "委托人", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_受托人", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "受托人", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_受托人", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "受托人", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_数量", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "数量", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_数量", System.Data.SqlDbType.BigInt, 0, System.Data.ParameterDirection.Input, 0, 0, "数量", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_委托时间", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "委托时间", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_委托时间", System.Data.SqlDbType.DateTime, 0, System.Data.ParameterDirection.Input, 0, 0, "委托时间", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_预期完成时间", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "预期完成时间", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_预期完成时间", System.Data.SqlDbType.DateTime, 0, System.Data.ParameterDirection.Input, 0, 0, "预期完成时间", System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@IsNull_时间说明", System.Data.SqlDbType.Int, 0, System.Data.ParameterDirection.Input, 0, 0, "时间说明", System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Original_时间说明", System.Data.SqlDbType.VarChar, 0, System.Data.ParameterDirection.Input, 0, 0, "时间说明", System.Data.DataRowVersion.Original, false, null, "", "", ""));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitConnection() {
this._connection = new System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::ServiceControlLibrary1.Properties.Settings.Default.testConnectionString1;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitCommandCollection() {
this._commandCollection = new System.Data.SqlClient.SqlCommand[1];
this._commandCollection[0] = new System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT 服务编号, 服务名称, 服务类别, 内容, 委托人, 受托人, 数量, 委托时间, 预期完成时间, 时间说明 FROM dbo.服务管理信息";
this._commandCollection[0].CommandType = System.Data.CommandType.Text;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(testDataSet2.服务管理信息DataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[Syste
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -