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
反馈
https://aka.ms/ContentUserFeedback。
即将推出:在整个 2024 年,我们将逐步取消以“GitHub 问题”作为内容的反馈机制,并将其替换为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈