DbDataAdapter.IDbDataAdapter.InsertCommand 属性
定义
获取或设置用于将新记录插入到数据源中的 SQL 语句。Gets or sets an SQL statement used to insert new records into the data source.
property System::Data::IDbCommand ^ System::Data::IDbDataAdapter::InsertCommand { System::Data::IDbCommand ^ get(); void set(System::Data::IDbCommand ^ value); };
System.Data.IDbCommand? System.Data.IDbDataAdapter.InsertCommand { get; set; }
System.Data.IDbCommand System.Data.IDbDataAdapter.InsertCommand { get; set; }
member this.System.Data.IDbDataAdapter.InsertCommand : System.Data.IDbCommand with get, set
Property InsertCommand As IDbCommand Implements IDbDataAdapter.InsertCommand
属性值
在 IDbCommand 过程中使用的 Update(DataSet),它针对数据集中的新行将记录插入到数据源。An IDbCommand used during Update(DataSet) to insert records in the data source for new rows in the data set.
实现
注解
此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 DbDataAdapter 实例被强制转换为 IDbDataAdapter 接口时使用。It can be used only when the DbDataAdapter instance is cast to an IDbDataAdapter interface.
有关详细信息,请参阅 InsertCommand。For more information, see InsertCommand.