System.Data.Common Namespace DataTableMapping Class
Initializes a new instance of a DataTableMapping class with the specified source table name and DataSet table name to map to.
[ VB ]
Overloads Public Sub New ( _
ByVal sourceTable As String, _
ByVal dataSetTable As String _
)
[ C# ]
public DataTableMapping (
string sourceTable,
string dataSetTable
);
[ C++ ]
public: DataTableMapping (
String* sourceTable,
String* dataSetTable
);
[ JScript ]
public function DataTableMapping (
sourceTable : String,
dataSetTable : String
);
- sourceTable
- The case-sensitive name of a SourceTable to map from.
- dataSetTable
- The case-insensitive name of a DataSetTable to map to.
The following example initializes a DataTableMapping object using this constructor.
void CreateDataTableMapping ( ) {
DataTableMapping myMap = new DataTableMapping ( "Description", "DataDescription" );
}
Sub CreateDataTableMapping ( )
Dim myMap As New DataTableMapping ( "Description", "DataDescription" )
End Sub |
|
C# |
VB |
DataTableMapping Members DataTableMapping Constructor Overload List