Method | Description | |
---|---|---|
BuildCommand ( ) : IDbCommandCreator |
Builds and sets up the command based upon the settings that have been previously passed to this builder.
|
|
WithCommandTimeout ( int commandTimeout ) : void | ||
WithParameters ( IEnumerable |
||
WithTransaction ( |
Method | Description | |
---|---|---|
DbCommandCreatorBase ( IDbConnection connection ) : System |
Initializes a new instance of the DbCommandCreatorBase class.
|
|
SetCommandTextForCommand ( ) : void | ||
SetCommandTimeoutIfExistsForCommand ( ) : void | ||
SetCommandTypeForCommand ( ) : void | ||
SetTransactionIfExistsForCommand ( ) : void | ||
WithCommandText ( string commandText ) : void | ||
WithCommandType ( CommandType commandType ) : void |
Method | Description | |
---|---|---|
AddParametersToCommand ( ) : void | ||
ClearAnyExistingParameters ( ) : void | ||
CreateCommand ( ) : void | ||
LoadCommandParametersIfAnyExist ( ) : void |
protected DbCommandCreatorBase ( IDbConnection connection ) : System | ||
connection | IDbConnection | /// The DbConnection to run the command against. /// |
return | System |
protected SetCommandTextForCommand ( ) : void | ||
return | void |
protected SetCommandTimeoutIfExistsForCommand ( ) : void | ||
return | void |
protected SetCommandTypeForCommand ( ) : void | ||
return | void |
protected SetTransactionIfExistsForCommand ( ) : void | ||
return | void |
protected WithCommandText ( string commandText ) : void | ||
commandText | string | |
return | void |
public WithCommandTimeout ( int commandTimeout ) : void | ||
commandTimeout | int | |
return | void |
protected WithCommandType ( CommandType commandType ) : void | ||
commandType | CommandType | |
return | void |
public WithParameters ( IEnumerable |
||
parameters | IEnumerable |
|
return | void |
public WithTransaction ( |
||
transaction | ||
return | void |