Search Results for

    Show / Hide Table of Contents

    Class SchemaMap

    Represents a mapping between two members in two dataflow rows. These mappings are available in a collection in the row and column mapper results, e.g. SchemaMaps, and refer to member indexes in the SchemaNodeList collection.

    Note that this class is immutable.

    Inheritance
    Object
    SchemaMap
    Namespace: actionETL
    Assembly: actionETL.dll
    Syntax
    public sealed class SchemaMap

    Constructors

    SchemaMap(Int32, Int32, Int32)

    Initializes a new instance of the SchemaMap class, which contains a mapping between two members in two different dataflow rows.

    Note that this class is immutable.

    Declaration
    public SchemaMap(int fromMapOrdinal, int fromIndex, int toIndex)
    Parameters
    Type Name Description
    Int32 fromMapOrdinal

    The 0-based ordinal number for the 'from' side of this mapping, i.e. a 0 if this is the first mapping for this 'from' member, a 1 if it is the second mapping for this 'from' member, etc. Always greater or equal to 0. This is used by e.g. TypeColumnCopier<TFrom, TTo> to do deep copies if needed.

    Int32 fromIndex

    The index for the 'from' side of the mapping.

    Int32 toIndex

    The index for the 'to' side of the mapping.

    Properties

    FromIndex

    Gets the index for the 'from' side of this mapping.

    Declaration
    public int FromIndex { get; }
    Property Value
    Type Description
    Int32

    FromMapOrdinal

    Gets the 0-based ordinal number for the 'from' side of this mapping, i.e. a 0 if this is the first mapping for this 'from' member, a 1 if it is the second mapping for this 'from' member, etc. Always greater or equal to 0. This is used by e.g. TypeColumnCopier<TFrom, TTo> to do deep copies if needed.

    Declaration
    public int FromMapOrdinal { get; }
    Property Value
    Type Description
    Int32

    ToIndex

    Gets the index for the 'to' side of the mapping.

    Declaration
    public int ToIndex { get; }
    Property Value
    Type Description
    Int32

    Methods

    Equals(Object)

    Determines whether the specified Object, is equal to this instance.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    The Object to compare with this instance.

    Returns
    Type Description
    Boolean

    true if the specified Object is equal to this instance; otherwise, false.

    Overrides
    Object.Equals(Object)

    GetHashCode()

    Returns a hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

    Overrides
    Object.GetHashCode()

    ToString()

    Returns a string that represents this instance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()

    See Also

    TypeRowSchema
    FlatRowSchema
    TypeRowMappings
    TypeRowMapper<TFrom, TTo>
    FromTypeRowMappings
    FromTypeRowMapper<TFrom>
    ToTypeRowMappings
    ToTypeRowMapper<TTo>
    In This Article
    Back to top Copyright © 2023 Envobi Ltd