IDataAdapter.TableMappings Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a collection that indicates how a source table is mapped to a dataset table.
public:
property System::Data::ITableMappingCollection ^ TableMappings { System::Data::ITableMappingCollection ^ get(); };
public System.Data.ITableMappingCollection TableMappings { get; }
member this.TableMappings : System.Data.ITableMappingCollection
Public ReadOnly Property TableMappings As ITableMappingCollection
Property Value
A collection that provides the primary 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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om