Show / Hide Table of Contents

    Class BulkInsertColumnMappingCollection

    Collection of BulkInsertColumnMapping objects that inherits from System.Collections.ObjectModel.Collection<T>.

    Inheritance
    System.Object
    System.Collections.ObjectModel.Collection<BulkInsertColumnMapping>
    BulkInsertColumnMappingCollection
    Namespace: Kros.Data.BulkActions
    Assembly: Kros.Utils.dll
    Syntax
    public class BulkInsertColumnMappingCollection : Collection<BulkInsertColumnMapping>, IList<BulkInsertColumnMapping>, ICollection<BulkInsertColumnMapping>, IList, ICollection, IReadOnlyList<BulkInsertColumnMapping>, IReadOnlyCollection<BulkInsertColumnMapping>, IEnumerable<BulkInsertColumnMapping>, IEnumerable

    Methods

    Add(Int32, Int32)

    Creates a new BulkInsertColumnMapping and adds it to the collection, using ordinals to specify both source and destination columns.

    Declaration
    public void Add(int sourceOrdinal, int destinationOrdinal)
    Parameters
    Type Name Description
    System.Int32 sourceOrdinal

    The ordinal position of the source column within the data source.

    System.Int32 destinationOrdinal

    The ordinal position of the destination column within the destination table.

    Add(Int32, String)

    Creates a new BulkInsertColumnMapping and adds it to the collection, using an ordinal for the source column and a string for the destination column.

    Declaration
    public void Add(int sourceOrdinal, string destinationName)
    Parameters
    Type Name Description
    System.Int32 sourceOrdinal

    The ordinal position of the source column within the data source.

    System.String destinationName

    The name of the destination column within the destination table.

    Add(String, Int32)

    Creates a new BulkInsertColumnMapping and adds it to the collection, using a column name to describe the source column and an ordinal to specify the destination column.

    Declaration
    public void Add(string sourceName, int destinationOrdinal)
    Parameters
    Type Name Description
    System.String sourceName

    The name of the source column within the data source.

    System.Int32 destinationOrdinal

    The ordinal position of the destination column within the destination table.

    Add(String, String)

    Creates a new BulkInsertColumnMapping and adds it to the collection, using column names to specify both source and destination columns.

    Declaration
    public void Add(string sourceName, string destinationName)
    Parameters
    Type Name Description
    System.String sourceName

    The name of the source column within the data source.

    System.String destinationName

    The name of the destination column within the destination table.

    Back to top KROS a.s.