Set up a command for updating a DataSet.
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
protected virtual IDbCommand SetCommand( IDbCommand command, out bool mustCloseConnection ) |
Visual Basic |
---|
Protected Overridable Function SetCommand ( command As IDbCommand, <OutAttribute> ByRef mustCloseConnection As Boolean ) As IDbCommand |
Parameters
- command
- Type: System.Data..::..IDbCommand
command object to prepare
- mustCloseConnection
- Type: System..::..Boolean%
output parameter specifying whether the connection used should be closed by the DAAB
Return Value
Type: IDbCommandAn IDbCommand object