RowUpdatingEventArgs.BaseCommand 属性

定义

获取或设置此类的实例的 IDbCommand 对象。Gets or sets the IDbCommand object for an instance of this class.

protected:
 virtual property System::Data::IDbCommand ^ BaseCommand { System::Data::IDbCommand ^ get(); void set(System::Data::IDbCommand ^ value); };
protected virtual System.Data.IDbCommand BaseCommand { get; set; }
member this.BaseCommand : System.Data.IDbCommand with get, set
Protected Overridable Property BaseCommand As IDbCommand

属性值

要在 IDbCommand 过程中执行的 Update(DataSet)The IDbCommand to execute during the Update(DataSet).

注解

此方法允许实现为 IDbCommand 对象分配执行类型检查。This method allows implementations to perform type checking for the IDbCommand object assignment. 只允许使用有效的 IDbCommand 对象,例如 SqlCommand 对象。Only valid IDbCommand objects, for example a SqlCommand object, should be permitted.

适用于

另请参阅