Adds the mappings in the resource of the assembly.
Namespace:
NHibernate.CfgAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function AddResource ( _ path As String, _ assembly As Assembly _ ) As Configuration |
C# |
---|
public Configuration AddResource( string path, Assembly assembly ) |
Visual C++ |
---|
public: Configuration^ AddResource( String^ path, Assembly^ assembly ) |
JavaScript |
---|
function addResource(path, 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.