RowUpdatingEventArgs.BaseCommand Property


Gets or sets the IDbCommand object for an instance of this class.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

abstract BaseCommand : IDbCommand with get, set
override BaseCommand : IDbCommand with get, set

Property Value

Type: System.Data.IDbCommand

The IDbCommand to execute during the Update.

This method allows implementations to perform type checking for the IDbCommand object assignment. Only valid IDbCommand objects, for example a SqlCommand object, should be permitted.

.NET Framework
Available since 2.0
Return to top