Метод | Описание | |
---|---|---|
ExecuteDataset ( string connectionString, string sql ) : |
||
ExecuteNonQuery ( IDbCommand command ) : int | ||
GetCommand ( string connectionString, string spName ) : IDbCommand | ||
GetConnection ( string connectionString ) : IDbConnection | ||
GetSQLDataType ( string sqlTypeString ) : SqlDbType | ||
SetParameterValue ( IDbCommand command, string paramName, object inValue ) : void | ||
TestConnectionString ( string connectString ) : bool |
Метод | Описание | |
---|---|---|
DatabaseHelper ( ) : System | ||
ExecuteDataset ( string connectionString, string storedProcedureName, |
||
ExecuteNonQuery ( string connectionString, string storedProcedureName, |
||
ExecuteReader ( IDbCommand selectCommand ) : System.Data.SqlClient.SqlDataReader | ||
ExecuteReader ( IDbConnection connection, CommandType cmdType, string stmt ) : System.Data.SqlClient.SqlDataReader | ||
ExecuteReader ( string connectString, CommandType cmdType, string stmt ) : System.Data.SqlClient.SqlDataReader | ||
Fill ( IDbDataAdapter da, |
||
GetCommand ( ) : IDbCommand | ||
GetDataAdapter ( ) : IDbDataAdapter | ||
GetSQLDataType ( SqlNativeTypes nativeType ) : SqlDbType | ||
SetConnections ( IDbDataAdapter da, IDbConnection conn ) : void | ||
SetTransaction ( IDbDataAdapter da, IDbTransaction trans ) : void | ||
Update ( IDbDataAdapter da, |
||
Update ( IDbDataAdapter da, |
public static ExecuteDataset ( string connectionString, string sql ) : |
||
connectionString | string | |
sql | string | |
Результат |
public static ExecuteNonQuery ( IDbCommand command ) : int | ||
command | IDbCommand | |
Результат | int |
public static GetCommand ( string connectionString, string spName ) : IDbCommand | ||
connectionString | string | |
spName | string | |
Результат | IDbCommand |
public static GetConnection ( string connectionString ) : IDbConnection | ||
connectionString | string | |
Результат | IDbConnection |
public static GetSQLDataType ( string sqlTypeString ) : SqlDbType | ||
sqlTypeString | string | |
Результат | SqlDbType |
public static SetParameterValue ( IDbCommand command, string paramName, object inValue ) : void | ||
command | IDbCommand | |
paramName | string | |
inValue | object | |
Результат | void |
public static TestConnectionString ( string connectString ) : bool | ||
connectString | string | |
Результат | bool |