C# Class NHibernate.Test.DebugConnectionProvider

This connection provider keeps a list of all open connections, it is used when testing to check that tests clean up after themselves.
Inheritance: NHibernate.Connection.DriverConnectionProvider
ファイルを表示 Open project: nhibernate/nhibernate-core Class Usage Examples

Public Methods

Method Description
CloseAllConnections ( ) : void
CloseConnection ( IDbConnection conn ) : void
GetConnection ( ) : IDbConnection

Method Details

CloseAllConnections() public method

public CloseAllConnections ( ) : void
return void

CloseConnection() public method

public CloseConnection ( IDbConnection conn ) : void
conn IDbConnection
return void

GetConnection() public method

public GetConnection ( ) : IDbConnection
return IDbConnection