Méthode | Description | |
---|---|---|
BuildCommand ( ) : |
Builds and sets up the command based upon the settings that have been previously passed to this builder. Should call into base implementation before executing any addtional code |
|
CreateStoredProcedureDbCommandCreator ( IDbConnection connection, string procedureName ) : |
Creates the stored procedure database command creator.
|
|
WithCommandTimeout ( int commandTimeout ) : |
Adds a command timeout to the builder which will be passed to the command when it is construted.
|
|
WithParameters ( IEnumerable |
Adds the specified parameters to the builder, and these will be added to the command when it is built.
|
|
WithTransaction ( |
Adds the specified transaction to the builder, and these will be added to the command when it is built.
|
Méthode | Description | |
---|---|---|
StoredProcedureDbCommandCreator ( IDbConnection connection ) : System | ||
WithCommandText ( string commandText ) : |
||
WithCommandType ( CommandType commandType ) : |
public BuildCommand ( ) : |
||
Résultat |
public static CreateStoredProcedureDbCommandCreator ( IDbConnection connection, string procedureName ) : |
||
connection | IDbConnection | /// The connection to be passed to the command when it is constructed. /// |
procedureName | string | /// The name of the stored procedure for which the commmand is to call. /// |
Résultat |
public WithCommandTimeout ( int commandTimeout ) : |
||
commandTimeout | int | The value of the command timeout. |
Résultat |
public WithParameters ( IEnumerable |
||
parameters | IEnumerable |
The parameters to add to the command. |
Résultat |
public WithTransaction ( |
||
transaction | The transaction to add to teh command. | |
Résultat |