Returns a Named Instance of the SessionFactory from the local "cache" identified by name.
Namespace: NHibernate.ImplAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public static ISessionFactory GetNamedInstance( string name ) |
Visual Basic |
---|
Public Shared Function GetNamedInstance ( _ name As String _ ) As ISessionFactory |
Visual C++ |
---|
public: static ISessionFactory^ GetNamedInstance( String^ name ) |
Parameters
- name
- Type: System..::..String
The name of the ISessionFactory.