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
Afficher le fichier Open project: nhibernate/nhibernate-core Class Usage Examples

Méthodes publiques

Méthode Description
CloseAllConnections ( ) : void
CloseConnection ( IDbConnection conn ) : void
GetConnection ( ) : IDbConnection

Method Details

CloseAllConnections() public méthode

public CloseAllConnections ( ) : void
Résultat void

CloseConnection() public méthode

public CloseConnection ( IDbConnection conn ) : void
conn IDbConnection
Résultat void

GetConnection() public méthode

public GetConnection ( ) : IDbConnection
Résultat IDbConnection