Szerkesztés

Megosztás a következőn keresztül:


DataTableMappingCollection.ITableMappingCollection.Add(String, String) Method

Definition

Adds a table mapping to the collection.

 virtual System::Data::ITableMapping ^ System.Data.ITableMappingCollection.Add(System::String ^ sourceTableName, System::String ^ dataSetTableName) = System::Data::ITableMappingCollection::Add;
System.Data.ITableMapping ITableMappingCollection.Add (string sourceTableName, string dataSetTableName);
abstract member System.Data.ITableMappingCollection.Add : string * string -> System.Data.ITableMapping
override this.System.Data.ITableMappingCollection.Add : string * string -> System.Data.ITableMapping
Function Add (sourceTableName As String, dataSetTableName As String) As ITableMapping Implements ITableMappingCollection.Add

Parameters

sourceTableName
String

The case-sensitive name of the source table.

dataSetTableName
String

The name of the DataSet table.

Returns

A reference to the newly-mapped ITableMapping object.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the DataTableMappingCollection instance is cast to an ITableMappingCollection interface.

For more information, see Add.

Applies to