Class MappingEngine

Represents mapping engine.

Inheritance
System.Object
MappingEngine
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.BusinessFoundation.Data.Business.Mapping
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 10.8.0
Syntax
public class MappingEngine

Constructors

MappingEngine()

Declaration
public MappingEngine()

Properties

Errors

Gets the get last error.

Declaration
public MappingErrorCollection Errors { get; }
Property Value
Type Description
MappingErrorCollection

The get last error.

PrimaryKeyIds

Gets the primary key ids.

Declaration
public PrimaryKeyCollection PrimaryKeyIds { get; }
Property Value
Type Description
PrimaryKeyCollection

The primary key ids.

Methods

ProcessMapping(MappingDocument, DataSet)

Processes the mapping.

Declaration
public void ProcessMapping(MappingDocument mappingDoc, DataSet dataSet)
Parameters
Type Name Description
MappingDocument mappingDoc

The XML map rules.

System.Data.DataSet dataSet

The map data set.

RaiseErrorEvent(MappingEngineErrorEventArgs)

Raises the error event.

Declaration
protected void RaiseErrorEvent(MappingEngineErrorEventArgs args)
Parameters
Type Name Description
MappingEngineErrorEventArgs args

Events

Error

Declaration
public event MappingErrorEventHandler Error
Event Type
Type Description
MappingErrorEventHandler