Namespaces

Types

Type ConnectionProvider

Namespace NHibernate.Connection

Interfaces IConnectionProvider

Methods

Properties

Public instance methods

void CloseConnection(IDbConnection conn)

Closes the IDbConnection .
Parameters
IDbConnection conn The IDbConnection to clean up.

void Configure(IDictionary settings)

Configures the ConnectionProvider with the Driver and the ConnectionString.
Parameters
IDictionary settings An IDictionary that contains the settings for this ConnectionProvider.

void Dispose()

Takes care of freeing the managed and unmanaged resources that this class is responsible for.

bool Equals(object obj)

Parameters
return bool
object obj

IDbConnection GetConnection()

Get an open IDbConnection .
Parameters
return IDbConnection An open IDbConnection .

int GetHashCode()

Parameters
return int

Type GetType()

Parameters
return Type

string ToString()

Parameters
return string

Public properties

IDriver Driver get;

Gets the IDriver that can create the IDbConnection object.
return IDriver