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

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

Syntax

Visual Basic (Declaration)
Public Shared Function GetInstance ( _
	uid As String _
) As ISessionFactory
C#
public static ISessionFactory GetInstance(
	string uid
)
Visual C++
public:
static ISessionFactory^ GetInstance(
	String^ uid
)
JavaScript
NHibernate.Impl.SessionFactoryObjectFactory.getInstance = function(uid);

Parameters

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

Return Value

An instantiated ISessionFactory.

See Also