Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
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 | |
return |
public static ExecuteNonQuery ( IDbCommand command ) : int | ||
command | IDbCommand | |
return | int |
public static GetCommand ( string connectionString, string spName ) : IDbCommand | ||
connectionString | string | |
spName | string | |
return | IDbCommand |
public static GetConnection ( string connectionString ) : IDbConnection | ||
connectionString | string | |
return | IDbConnection |
public static GetSQLDataType ( string sqlTypeString ) : SqlDbType | ||
sqlTypeString | string | |
return | SqlDbType |
public static SetParameterValue ( IDbCommand command, string paramName, object inValue ) : void | ||
command | IDbCommand | |
paramName | string | |
inValue | object | |
return | void |
public static TestConnectionString ( string connectString ) : bool | ||
connectString | string | |
return | bool |