This documentation is archived and is not being maintained.

IDataAdapter.TableMappings Property

Indicates how a source table is mapped to a data set table.

[Visual Basic]
ReadOnly Property TableMappings As ITableMappingCollection
ITableMappingCollection TableMappings {get;}
__property ITableMappingCollection* get_TableMappings();
function get TableMappings() : ITableMappingCollection;

Property Value

A collection that provides the master mapping between the returned records and the DataSet. The default value is an empty collection.


The IDataAdapter uses only the mappings for the source table named "Table". All SELECT, INSERT, DELETE, and UPDATE statements returning data must do so using consistent column naming. The column names returned in the records must be unique, otherwise columns with duplicate names overwrite previous data. On Update, only the table mapped to the source table named "Table" will have its changes reconciled.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

IDataAdapter Interface | IDataAdapter Members | System.Data Namespace