Adds the mappings in the resource of the assembly.
            
Namespace: NHibernate.CfgAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# | 
|---|
public Configuration AddResource( string path, Assembly assembly )  | 
| Visual Basic | 
|---|
Public Function AddResource ( _ path As String, _ assembly As Assembly _ ) As Configuration  | 
| Visual C++ | 
|---|
public: Configuration^ AddResource( String^ path, Assembly^ assembly )  | 
Parameters
- path
 - Type: System..::..String
The path to the resource file in the assembly. 
- assembly
 - Type: System.Reflection..::..Assembly
The assembly that contains the resource file.