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( Assembly assembly ) |
Visual Basic |
---|
Public Function AddAssembly ( _ assembly As Assembly _ ) As Configuration |
Visual C++ |
---|
public: Configuration^ AddAssembly( Assembly^ assembly ) |
Parameters
- assembly
- Type: System.Reflection..::..Assembly
The assembly.