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 file ) |
| Visual Basic |
|---|
Public Sub New ( _ file As String _ ) |
| Visual C++ |
|---|
public: MappingConfiguration( String^ file ) |
Parameters
- file
- Type: System..::..String
Mapped file.
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentException | When file is null or empty. |