Add(Int32, Int32) method

Creates a new SABulkCopyColumnMapping object 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 SABulkCopyColumnMapping
C#

public SABulkCopyColumnMapping Add(
   int sourceColumnOrdinal,
   int destinationColumnOrdinal
);
Parameters
  • sourceColumnOrdinal   The ordinal position of the source column within the data source.

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

Remarks

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

See also