Class LocatorMapper
Creates locator mapping plans.
public class LocatorMapper
- Inheritance
-
LocatorMapper
- Inherited Members
- Extension Methods
Methods
Apply(LocatorMapPlan, DataRow, DataRow)
Applies a locator mapping plan to a target row.
public virtual void Apply(LocatorMapPlan Plan, DataRow SourceRow, DataRow TargetRow)
Parameters
PlanLocatorMapPlanSourceRowDataRowTargetRowDataRow
CreatePlan(LocatorDef, TableDef, FieldDef)
Creates a locator mapping plan.
public virtual LocatorMapPlan CreatePlan(LocatorDef LocatorDef, TableDef TargetTable, FieldDef ReferenceField)
Parameters
LocatorDefLocatorDefTargetTableTableDefReferenceFieldFieldDef
Returns
FindSnapshotField(TableDef, TableDef, FieldDef)
Finds a snapshot field for a join field.
protected virtual FieldDef FindSnapshotField(TableDef TargetTable, TableDef JoinTable, FieldDef JoinField)
Parameters
Returns
FindTargetField(TableDef, FieldDef, string)
Finds a target field for a locator result field.
protected virtual FieldDef FindTargetField(TableDef TargetTable, FieldDef ReferenceField, string SourceField)
Parameters
Returns
GetSourceRowValue(DataRow, string)
Returns a source row value.
protected virtual object GetSourceRowValue(DataRow SourceRow, string SourceField)
Parameters
Returns
SetTargetRowValue(DataRow, string, object)
Sets a target row value.
protected virtual void SetTargetRowValue(DataRow TargetRow, string TargetField, object Value)