Add(Int32, Int32) method

Creates a new ULBulkCopyColumnMapping instance using ordinals to specify both source and destination columns, and adds the mapping to the collection.

Syntax
Visual Basic
Public Function Add( _
   ByVal sourceColumnOrdinal As Integer, _
   ByVal destinationColumnOrdinal As Integer _
) As ULBulkCopyColumnMapping
C#
public ULBulkCopyColumnMapping Add(
   int sourceColumnOrdinal,
   int destinationColumnOrdinal
);
Parameters
  • sourceColumnOrdinal   The ordinal position of the source column within the data source. The first column in a data source has ordinal position zero.

  • destinationColumnOrdinal   The ordinal position of the destination column within the destination table. The first column in a table has ordinal position zero.

Remarks

Restrictions: The ULBulkCopyColumnMappingCollection class is not available in the .NET Compact Framework 2.0.

See also