Add mapping data using deserialized class.

Namespace: NHibernate.Cfg
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public void AddDeserializedMapping(
	HbmMapping mappingDocument,
	string documentFileName
)
Visual Basic
Public Sub AddDeserializedMapping ( _
	mappingDocument As HbmMapping, _
	documentFileName As String _
)
Visual C++
public:
void AddDeserializedMapping(
	HbmMapping^ mappingDocument, 
	String^ documentFileName
)

Parameters

mappingDocument
Type: NHibernate.Cfg.MappingSchema..::..HbmMapping
Mapping metadata.
documentFileName
Type: System..::..String
XML file's name where available; otherwise null.

See Also