Returns an Instance of the SessionFactory from the local "cache" identified by UUID.

Namespace: NHibernate.Impl
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public static ISessionFactory GetInstance(
	string uid
)
Visual Basic
Public Shared Function GetInstance ( _
	uid As String _
) As ISessionFactory
Visual C++
public:
static ISessionFactory^ GetInstance(
	String^ uid
)

Parameters

uid
Type: System..::..String
The identifier of the ISessionFactory.

Return Value

An instantiated ISessionFactory.

See Also