Set the default assembly to use for the mappings added to the configuration
afterwards.
Namespace: NHibernate.CfgAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# |
|---|
public Configuration SetDefaultAssembly( string newDefaultAssembly ) |
| Visual Basic |
|---|
Public Function SetDefaultAssembly ( _ newDefaultAssembly As String _ ) As Configuration |
| Visual C++ |
|---|
public: Configuration^ SetDefaultAssembly( String^ newDefaultAssembly ) |
Parameters
- newDefaultAssembly
- Type: System..::..String
The default assembly name.
Return Value
This configuration instance.
Remarks
This setting can be overridden for a mapping file by setting default-assembly
attribute of <hibernate-mapping> element.