Export (0) Print
Expand All

IDataAdapter.TableMappings Property

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

[Visual Basic]
ReadOnly Property TableMappings As ITableMappingCollection
[C#]
ITableMappingCollection TableMappings {get;}
[C++]
__property ITableMappingCollection* get_TableMappings();
[JScript]
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.

Remarks

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.

Requirements

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

Show:
© 2014 Microsoft