C# Class DAL.DataAccess

ファイルを表示 Open project: jasonhuber/devryweb460store Class Usage Examples

Public Methods

Method Description
DataAccess ( ) : System
DataAccess ( string connectionString, string providerName ) : System
ExecuteNonQuery ( string sql, string paramters, string values ) : void
ExecuteQuery ( string sql, string parameters, string values ) : DataSet

Private Methods

Method Description
CreateCommand ( string commandText, DbConnection connection ) : DbCommand
CreateConnection ( ) : DbConnection

Method Details

DataAccess() public method

public DataAccess ( ) : System
return System

DataAccess() public method

public DataAccess ( string connectionString, string providerName ) : System
connectionString string
providerName string
return System

ExecuteNonQuery() public method

public ExecuteNonQuery ( string sql, string paramters, string values ) : void
sql string
paramters string
values string
return void

ExecuteQuery() public method

public ExecuteQuery ( string sql, string parameters, string values ) : DataSet
sql string
parameters string
values string
return System.Data.DataSet