<PackageReference Include="Microsoft.Data.SqlClient" Version="7.0.0" />

Microsoft.Data.SqlClient.SqlBulkCopyColumnMappingCollection

Collection of SqlBulkCopyColumnMapping objects that inherits from CollectionBase.
public SqlBulkCopyColumnMapping this[int index] { get; }

Gets the SqlBulkCopyColumnMapping object at the specified index.

Adds the specified mapping to the SqlBulkCopyColumnMappingCollection.

public SqlBulkCopyColumnMapping Add(int sourceColumnIndex, int destinationColumnIndex)

public SqlBulkCopyColumnMapping Add(int sourceColumnIndex, string destinationColumn)

public SqlBulkCopyColumnMapping Add(string sourceColumn, int destinationColumnIndex)

public SqlBulkCopyColumnMapping Add(string sourceColumn, string destinationColumn)

public void Clear()

Clears the contents of the collection.

Gets a value indicating whether a specified SqlBulkCopyColumnMapping object exists in the collection.

public void CopyTo(SqlBulkCopyColumnMapping[] array, int index)

Copies the elements of the SqlBulkCopyColumnMappingCollection to an array of SqlBulkCopyColumnMapping items, starting at a particular index.

Gets the index of the specified SqlBulkCopyColumnMapping object.

public void Insert(int index, SqlBulkCopyColumnMapping value)

Insert a new SqlBulkCopyColumnMapping at the index specified.

public void Remove(SqlBulkCopyColumnMapping value)

Removes the specified SqlBulkCopyColumnMapping element from the SqlBulkCopyColumnMappingCollection.

public void RemoveAt(int index)

Removes the mapping at the specified index from the collection.