Initializes a new instance of the MappingConfiguration class.

Namespace: NHibernate.Cfg.ConfigurationSchema
Assembly: 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

ExceptionCondition
System..::..ArgumentExceptionWhen file is null or empty.

See Also