RowUpdatingEventArgs.BaseCommand Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

protected virtual IDbCommand BaseCommand { 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