Метод | Описание | |
---|---|---|
CreateCommand ( ) : |
Uses this ConnectionHelper instance's connection to create and return a new DbCommand instance.
|
|
CreateParameter ( string parameterName, object value ) : |
Uses this ConnectionHelper's Provider to create a DbParameter instance with the given parameter name and value.
|
|
CreateParameter ( string parameterName, object value, DbType dbType ) : |
Uses this ConnectionHelper's Provider to create a DbParameter instance with the given parameter name and value.
|
|
CreateParameter ( string parameterName, object value, DbType dbType, int size ) : |
Uses this ConnectionHelper's Provider to create a DbParameter instance with the given parameter name and value.
|
|
CreateTextCommand ( string commandText ) : |
Users this ConnectionHelper instance's connection to create and return a new DbCommand with the given command text. CommandType is automatically set to CommandType.Text.
|
|
DbConnectionHelper ( |
Creates a new DbConnectionHelper instance from the given ConnectionStringSettings.
|
|
DbConnectionHelper ( string providerName, string connectionString ) : System |
Creates a new DbConnectionHelper instance from the given provider name and database connection string..
|
|
Dispose ( ) : void |
Disposes this DbConnectionHelper and its underlying connection.
|
Метод | Описание | |
---|---|---|
CheckDisposed ( ) : void | ||
Dispose ( bool disposing ) : void |
public CreateCommand ( ) : |
||
Результат |
public CreateParameter ( string parameterName, object value ) : |
||
parameterName | string | The name of the parameter. |
value | object | The value of the parameter. |
Результат |
public CreateParameter ( string parameterName, object value, DbType dbType ) : |
||
parameterName | string | The name of the parameter. |
value | object | The value of the parameter. |
dbType | DbType | The DB type. |
Результат |
public CreateParameter ( string parameterName, object value, DbType dbType, int size ) : |
||
parameterName | string | The name of the parameter. |
value | object | The value of the parameter. |
dbType | DbType | The DB type. |
size | int | The size/length of the parameter. |
Результат |
public CreateTextCommand ( string commandText ) : |
||
commandText | string | |
Результат |
public DbConnectionHelper ( |
||
settings | ||
Результат | System |
public DbConnectionHelper ( string providerName, string connectionString ) : System | ||
providerName | string | |
connectionString | string | |
Результат | System |