Set the SessionFactory mnemonic name.
Namespace: NHibernate.Cfg.LoquaciousAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
IFluentSessionFactoryConfiguration Named( string sessionFactoryName ) |
Visual Basic |
---|
Function Named ( _ sessionFactoryName As String _ ) As IFluentSessionFactoryConfiguration |
Visual C++ |
---|
IFluentSessionFactoryConfiguration^ Named( String^ sessionFactoryName ) |
Parameters
- sessionFactoryName
- Type: System..::..String
The mnemonic name.
Return Value
The fluent configuration itself.Remarks
The SessionFactory mnemonic name can be used as a surrogate key in a multi-DB application.