C# Class WeenyMapper.Specs.Sql.TestDbConnection

Inheritance: System.Data.Common.DbConnection
显示文件 Open project: erikojebo/WeenyMapper Class Usage Examples

Public Methods

Method Description
ChangeDatabase ( string databaseName ) : void
Close ( ) : void
Open ( ) : void

Protected Methods

Method Description
BeginDbTransaction ( IsolationLevel isolationLevel ) : DbTransaction
CreateDbCommand ( ) : DbCommand
Dispose ( bool disposing ) : void

Method Details

BeginDbTransaction() protected method

protected BeginDbTransaction ( IsolationLevel isolationLevel ) : DbTransaction
isolationLevel IsolationLevel
return System.Data.Common.DbTransaction

ChangeDatabase() public method

public ChangeDatabase ( string databaseName ) : void
databaseName string
return void

Close() public method

public Close ( ) : void
return void

CreateDbCommand() protected method

protected CreateDbCommand ( ) : DbCommand
return System.Data.Common.DbCommand

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Open() public method

public Open ( ) : void
return void