Adds all of the assembly's embedded resources whose names end with .hbm.xml.
Namespace: NHibernate.CfgAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public Configuration AddAssembly( string assemblyName ) |
Visual Basic |
---|
Public Function AddAssembly ( _ assemblyName As String _ ) As Configuration |
Visual C++ |
---|
public: Configuration^ AddAssembly( String^ assemblyName ) |
Parameters
- assemblyName
- Type: System..::..String
The name of the assembly to load.
Return Value
This configuration object.Remarks
The assembly must be loadable using Load(String). If this
condition is not satisfied, load the assembly manually and call
AddAssembly(Assembly) instead.