DbDataAdapter.IDbDataAdapter.DeleteCommand 属性

定义

获取或设置用于从数据集中删除记录的 SQL 语句。Gets or sets an SQL statement for deleting records from the data set.

property System::Data::IDbCommand ^ System::Data::IDbDataAdapter::DeleteCommand { System::Data::IDbCommand ^ get(); void set(System::Data::IDbCommand ^ value); };
System.Data.IDbCommand? System.Data.IDbDataAdapter.DeleteCommand { get; set; }
System.Data.IDbCommand System.Data.IDbDataAdapter.DeleteCommand { get; set; }
member this.System.Data.IDbDataAdapter.DeleteCommand : System.Data.IDbCommand with get, set
 Property DeleteCommand As IDbCommand Implements IDbDataAdapter.DeleteCommand

属性值

IDbCommand

IDbCommand 过程中使用的 Update(DataSet),它针对数据集中已删除的行删除数据源中的记录。An IDbCommand used during Update(DataSet) to delete records in the data source for deleted 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.

有关详细信息,请参阅 DeleteCommandFor more information, see DeleteCommand.

适用于