Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class MappingEngine

Represents mapping engine.

Inheritance
System.Object
MappingEngine
Namespace: Mediachase.BusinessFoundation.Data.Business.Mapping
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 14.26.0
Syntax
public class MappingEngine : Object

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

add_Error(MappingErrorEventHandler)

Declaration
public void add_Error(MappingErrorEventHandler value)
Parameters
Type Name Description
MappingErrorEventHandler value

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

remove_Error(MappingErrorEventHandler)

Declaration
public void remove_Error(MappingErrorEventHandler value)
Parameters
Type Name Description
MappingErrorEventHandler value

Events

Error

Declaration
public event MappingErrorEventHandler Error
Event Type
Type Description
MappingErrorEventHandler