System.Data.IColumnMapping

Associates a data source column with a System.Data.DataSet column, and is implemented by the System.Data.Common.DataColumnMapping class, which is used in common by .NET Framework data providers.

See Also: IColumnMapping Members

Syntax

public interface IColumnMapping

Remarks

The System.Data.IColumnMapping interface enables an inheriting class to implement a Column Mapping class, which associates a data source column with a System.Data.DataSet column. For more information, see [<topic://cpconsettingupdatatabledatacolumnmappings>].

An application does not create an instance of the System.Data.IColumnMapping interface directly, but creates an instance of a class that inherits System.Data.IColumnMapping.

Classes that inherit System.Data.IColumnMapping must implement all inherited members, and typically define additional members to add provider-specific functionality. For example, the System.Data.IColumnMapping interface defines the IColumnMapping.DataSetColumn property. In turn, the System.Data.Common.DataColumnMapping class inherits this property, and also defines the System.Data.Common.DataColumnMapping.GetDataColumnBySchemaAction(DataTable, Type, MissingSchemaAction) method.

Requirements

Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0