ITableMappingCollection.Add(String, String) Method

Definition

Adds a table mapping to the collection.

public:
 System::Data::ITableMapping ^ Add(System::String ^ sourceTableName, System::String ^ dataSetTableName);
public System.Data.ITableMapping Add (string sourceTableName, string dataSetTableName);
abstract member Add : string * string -> System.Data.ITableMapping
Public Function Add (sourceTableName As String, dataSetTableName As String) As ITableMapping

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.

Applies to