DataTableMappingCollection::ITableMappingCollection::Add Method (String^, String^)

 

Adds a table mapping to the collection.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

private:
virtual ITableMapping^ Add(
	String^ sourceTableName,
	String^ dataSetTableName
) sealed = ITableMappingCollection::Add

Parameters

sourceTableName
Type: System::String^

The case-sensitive name of the source table.

dataSetTableName
Type: System::String^

The name of the DataSet table.

Return Value

Type: System.Data::ITableMapping^

A reference to the newly-mapped ITableMapping object.

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.

.NET Framework
Available since 1.1
Return to top
Show: