Class IndexMapping
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.
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public sealed class IndexMapping : Mapping
Constructors
| Improve this DocIndexMapping(Int32, Int32)
Initializes a new instance of the IndexMapping class.
Declaration
public IndexMapping(int sourceIndex, int destinationIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | sourceIndex | The ordinal position of the source column/field/item within the data source. |
System.Int32 | destinationIndex | The ordinal position of the destination column/field/item within the data destination. |
IndexMapping(Int32, String)
Initializes a new instance of the IndexMapping class.
Declaration
public IndexMapping(int sourceIndex, string destination)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | sourceIndex | The ordinal position of the source column/field/item within the data source. |
System.String | destination | The name of the destination column/field/item within the data destination. |
IndexMapping(String, Int32)
Initializes a new instance of the IndexMapping class.
Declaration
public IndexMapping(string source, int destinationIndex)
Parameters
Type | Name | Description |
---|---|---|
System.String | source | The name of the source column/field/item within the data source. |
System.Int32 | destinationIndex | The ordinal position of the destination column/field/item within the data destination. |
IndexMapping(String, String)
Initializes a new instance of the Mapping class.
Declaration
public IndexMapping(string source, string destination)
Parameters
Type | Name | Description |
---|---|---|
System.String | source | The name of the source column/field/item within the data source. |
System.String | destination | The name of the destination column/field/item within the data destination. |
Properties
| Improve this DocDestinationIndex
Gets the ordinal position of the column/field/item within the data destination.
Declaration
public int DestinationIndex { get; }
Property Value
Type | Description |
---|---|
System.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.
Declaration
public int SourceIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The integer value of the column/field/item within the data source. |