Namespaces

Types

Type SessionFactoryObjectFactory

Namespace NHibernate.Impl

Methods

Public instance methods

bool Equals(object obj)

Parameters
return bool
object obj

int GetHashCode()

Parameters
return int

Type GetType()

Parameters
return Type

string ToString()

Parameters
return string

Public static methods

void AddInstance(string uid, string name, ISessionFactory instance, IDictionary properties)

Adds an Instance of the SessionFactory to the local "cache".
Parameters
string uid The identifier of the ISessionFactory.
string name The name of the ISessionFactory.
ISessionFactory instance The ISessionFactory.
IDictionary properties The configured properties for the ISessionFactory.

ISessionFactory GetInstance(string uid)

Returns an Instance of the SessionFactory from the local "cache" identified by UUID.
Parameters
return ISessionFactory An instantiated ISessionFactory.
string uid The identifier of the ISessionFactory.

ISessionFactory GetNamedInstance(string name)

Returns a Named Instance of the SessionFactory from the local "cache" identified by name.
Parameters
return ISessionFactory An instantiated ISessionFactory.
string name The name of the ISessionFactory.

void RemoveInstance(string uid, string name, IDictionary properties)

Removes the Instance of the SessionFactory from the local "cache".
Parameters
string uid The identifier of the ISessionFactory.
string name The name of the ISessionFactory.
IDictionary properties The configured properties for the ISessionFactory.