Initializes a new instance of the MappingConfiguration class.
Namespace: NHibernate.Cfg.ConfigurationSchemaAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public MappingConfiguration( string assembly, string resource ) |
Visual Basic |
---|
Public Sub New ( _ assembly As String, _ resource As String _ ) |
Visual C++ |
---|
public: MappingConfiguration( String^ assembly, String^ resource ) |
Parameters
- assembly
- Type: System..::..String
The assembly name.
- resource
- Type: System..::..String
The mapped embedded resource.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentException | When assembly is null or empty. |