C# Class BoxInformation.DataAccess.SqlDataAccess

Inheritance: IDataAccess
Datei anzeigen Open project: NathanGloyn/Is-your-code-SOLID

Public Methods

Method Description
CreateParameter ( string name, object value ) : IDbDataParameter
ExecuteNonQuery ( string commandText, CommandType commandType ) : int
FillDataSet ( string storedProcedure, CommandType commandType ) : DataSet
SqlDataAccess ( string connectionString ) : System.Data

Private Methods

Method Description
ExecuteDataAdapterFill ( string commandText, CommandType commandType ) : DataSet

Method Details

CreateParameter() public method

public CreateParameter ( string name, object value ) : IDbDataParameter
name string
value object
return IDbDataParameter

ExecuteNonQuery() public method

public ExecuteNonQuery ( string commandText, CommandType commandType ) : int
commandText string
commandType CommandType
return int

FillDataSet() public method

public FillDataSet ( string storedProcedure, CommandType commandType ) : DataSet
storedProcedure string
commandType CommandType
return System.Data.DataSet

SqlDataAccess() public method

public SqlDataAccess ( string connectionString ) : System.Data
connectionString string
return System.Data