Class IndexMapping
- Namespace
- Cuemon
- Assembly
- Cuemon.Core.dll
Defines the mapping between a column/field/item in a data source and a column/field/item in the data destination. This class cannot be inherited.
public sealed class IndexMapping : Mapping
- Inheritance
-
ObjectIndexMapping
- Inherited Members
Constructors
IndexMapping(Int32, Int32)
Initializes a new instance of the IndexMapping class.
public IndexMapping(int sourceIndex, int destinationIndex)
Parameters
sourceIndex
Int32The ordinal position of the source column/field/item within the data source.
destinationIndex
Int32The ordinal position of the destination column/field/item within the data destination.
IndexMapping(Int32, String)
Initializes a new instance of the IndexMapping class.
public IndexMapping(int sourceIndex, string destination)
Parameters
sourceIndex
Int32The ordinal position of the source column/field/item within the data source.
destination
StringThe name of the destination column/field/item within the data destination.
IndexMapping(String, Int32)
Initializes a new instance of the IndexMapping class.
public IndexMapping(string source, int destinationIndex)
Parameters
source
StringThe name of the source column/field/item within the data source.
destinationIndex
Int32The ordinal position of the destination column/field/item within the data destination.
IndexMapping(String, String)
Initializes a new instance of the Mapping class.
public IndexMapping(string source, string destination)
Parameters
source
StringThe name of the source column/field/item within the data source.
destination
StringThe name of the destination column/field/item within the data destination.
Properties
DestinationIndex
Gets the ordinal position of the column/field/item within the data destination.
public int DestinationIndex { get; }
Property Value
- Int32
The integer value of the column/field/item within the data destination.
SourceIndex
Gets the ordinal position of the column/field/item within the data source.
public int SourceIndex { get; }
Property Value
- Int32
The integer value of the column/field/item within the data source.