Resets the System.Data.Common.DbCommand.CommandTimeout, System.Data.Common.DbCommand.Transaction, System.Data.Common.DbCommand.CommandType, and System.Data.Common.DbCommand.UpdatedRowSource properties on the System.Data.Common.DbCommand.
Visual Basic syntax
Protected Overrides Function
InitializeCommand
(ByVal command As
DbCommand
)
As DbCommand
C# syntax
protected override DbCommand
InitializeCommand
(
DbCommand
command)
Parameters
-
command –
The System.Data.Common.DbCommand to be used by the command builder for the corresponding insert, update, or delete command.
Returns
A System.Data.Common.DbCommand instance to use for each insert, update, or delete operation. Passing a null value allows the InitializeCommand method to create a System.Data.Common.DbCommand object based on the SELECT statement associated with the SACommandBuilder object.