8 instantiations of DataTableMapping
System.Data (8)
fx\src\data\System\Data\Common\DataTableMapping.cs (1)
108
DataTableMapping clone = new
DataTableMapping
(); // MDAC 81448
fx\src\data\System\Data\Common\DataTableMappingCollection.cs (2)
160
return Add(new
DataTableMapping
(sourceTable, dataSetTable));
392
return new
DataTableMapping
(sourceTable, dataSetTable);
fx\src\data\System\Data\Common\DBCommandBuilder.cs (1)
1121
tableMapping = new
DataTableMapping
(tableName, tableName);
fx\src\data\System\Data\Common\DbDataAdapter.cs (2)
610
tableMapping = new
DataTableMapping
(dataTable.TableName, dataTable.TableName);
758
tableMapping = new
DataTableMapping
(DbDataAdapter.DefaultSourceTableName, dataTable.TableName);
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (2)
107
_tableMapping = new
DataTableMapping
(_dataTable.TableName, _dataTable.TableName);
132
_tableMapping = new
DataTableMapping
(_dataTable.TableName, _dataTable.TableName);
79 references to DataTableMapping
System.Data (79)
fx\src\data\System\Data\Common\AdapterUtil.cs (7)
1061
return CollectionNullValue(parameter, typeof(DataTableMappingCollection), typeof(
DataTableMapping
));
1064
return CollectionIndexString(typeof(
DataTableMapping
), ADP.DataSetTable, cacheTable, typeof(DataTableMappingCollection));
1070
return ParametersIsNotParent(typeof(
DataTableMapping
), collection);
1073
return ParametersIsParent(typeof(
DataTableMapping
), collection);
1076
return CollectionIndexString(typeof(
DataTableMapping
), ADP.SourceTable, srcTable, typeof(DataTableMappingCollection));
1079
return CollectionUniqueValue(typeof(
DataTableMapping
), ADP.SourceTable, srcTable);
1082
return CollectionInvalidType(typeof(DataTableMappingCollection), typeof(
DataTableMapping
), value);
fx\src\data\System\Data\Common\DataAdapter.cs (1)
712
internal
DataTableMapping
GetTableMappingBySchemaAction(string sourceTableName, string dataSetTableName, MissingMappingAction mappingAction) {
fx\src\data\System\Data\Common\DataTableMapping.cs (6)
20
System.ComponentModel.TypeConverterAttribute(typeof(System.Data.Common.
DataTableMapping
.DataTableMappingConverter))
108
DataTableMapping
clone = new DataTableMapping(); // MDAC 81448
207
if ((typeof(InstanceDescriptor) == destinationType) && (value is
DataTableMapping
)) {
208
DataTableMapping
mapping = (
DataTableMapping
)value;
215
ConstructorInfo ctor = typeof(
DataTableMapping
).GetConstructor(types);
fx\src\data\System\Data\Common\DataTableMappingCollection.cs (26)
23
private List<
DataTableMapping
> items; // delay creation until AddWithoutEvents, Insert, CopyTo, GetEnumerator
49
this[index] = (
DataTableMapping
) value;
59
this[index] = (
DataTableMapping
) value;
81
get { return typeof(
DataTableMapping
); }
89
public
DataTableMapping
this[int index] {
105
public
DataTableMapping
this[string sourceTable] {
118
Add((
DataTableMapping
) value);
122
private
DataTableMapping
Add(
DataTableMapping
value) {
127
public void AddRange(
DataTableMapping
[] values) { // V1.0.3300
144
AddWithoutEvents(value.Clone() as
DataTableMapping
);
148
foreach(
DataTableMapping
value in values) {
159
public
DataTableMapping
Add(string sourceTable, string dataSetTable) {
163
private void AddWithoutEvents(
DataTableMapping
value) {
171
private List<
DataTableMapping
> ArrayList() {
173
this.items = new List<
DataTableMapping
>();
186
foreach(
DataTableMapping
item in items) {
205
public void CopyTo(
DataTableMapping
[] array, int index) {
209
public
DataTableMapping
GetByDataSetTable(string dataSetTable) {
259
Insert(index, (
DataTableMapping
) value);
262
public void Insert(int index,
DataTableMapping
value) {
303
Remove((
DataTableMapping
) value);
306
public void Remove (
DataTableMapping
value) {
320
private void Replace (int index,
DataTableMapping
newValue) {
336
private void Validate(int index,
DataTableMapping
value) {
370
static public
DataTableMapping
GetTableMappingBySchemaAction(DataTableMappingCollection tableMappings, string sourceTable, string dataSetTable, MissingMappingAction mappingAction) {
fx\src\data\System\Data\Common\DBCommandBuilder.cs (8)
703
private DbCommand BuildDeleteCommand(
DataTableMapping
mappings, DataRow dataRow) {
722
private DbCommand BuildInsertCommand(
DataTableMapping
mappings, DataRow dataRow) {
808
private DbCommand BuildUpdateCommand(
DataTableMapping
mappings, DataRow dataRow) {
891
DataTableMapping
mappings,
1110
private
DataTableMapping
GetTableMapping(DataRow dataRow ) {
1111
DataTableMapping
tableMapping = null;
1219
private object GetColumnValue(DataRow row, String columnName,
DataTableMapping
mappings, DataRowVersion version) {
1231
private DataColumn GetDataColumn(string columnName,
DataTableMapping
tablemapping, DataRow row) {
fx\src\data\System\Data\Common\DbDataAdapter.cs (12)
228
virtual protected RowUpdatedEventArgs CreateRowUpdatedEvent(DataRow dataRow, IDbCommand command, StatementType statementType,
DataTableMapping
tableMapping) { // V1.0.3300
232
virtual protected RowUpdatingEventArgs CreateRowUpdatingEvent(DataRow dataRow, IDbCommand command, StatementType statementType,
DataTableMapping
tableMapping) { // V1.0.3300
600
internal
DataTableMapping
GetTableMapping(DataTable dataTable) {
601
DataTableMapping
tableMapping = null;
628
private void ParameterInput(IDataParameterCollection parameters, StatementType typeIndex, DataRow row,
DataTableMapping
mappings) {
657
private void ParameterOutput(IDataParameter parameter, DataRow row,
DataTableMapping
mappings, MissingMappingAction missingMapping, MissingSchemaAction missingSchema) {
686
private void ParameterOutput(IDataParameterCollection parameters, DataRow row,
DataTableMapping
mappings) {
730
DataTableMapping
tableMapping = GetTableMapping(dataTable);
749
DataTableMapping
tableMapping = null;
783
DataTableMapping
tableMapping = GetTableMappingBySchemaAction(srcTable, srcTable, UpdateMappingAction);
804
virtual protected int Update(DataRow[] dataRows,
DataTableMapping
tableMapping) { // V1.0.3300
1257
private int UpdateFromDataTable(DataTable dataTable,
DataTableMapping
tableMapping) {
fx\src\data\System\Data\Common\RowUpdatedEventArgs.cs (3)
23
private
DataTableMapping
_tableMapping;
32
public RowUpdatedEventArgs(DataRow dataRow, IDbCommand command, StatementType statementType,
DataTableMapping
tableMapping) {
113
public
DataTableMapping
TableMapping {
fx\src\data\System\Data\Common\RowUpdatingEventArgs.cs (3)
21
private
DataTableMapping
_tableMapping;
27
public RowUpdatingEventArgs(DataRow dataRow, IDbCommand command, StatementType statementType,
DataTableMapping
tableMapping) {
105
public
DataTableMapping
TableMapping {
fx\src\data\System\Data\Odbc\OdbcDataAdapter.cs (2)
153
override protected RowUpdatedEventArgs CreateRowUpdatedEvent(DataRow dataRow, IDbCommand command, StatementType statementType,
DataTableMapping
tableMapping) {
157
override protected RowUpdatingEventArgs CreateRowUpdatingEvent(DataRow dataRow, IDbCommand command, StatementType statementType,
DataTableMapping
tableMapping) {
fx\src\data\System\Data\Odbc\OdbcRowUpdatingEvent.cs (2)
30
public OdbcRowUpdatingEventArgs(DataRow row, IDbCommand command, StatementType statementType,
DataTableMapping
tableMapping)
53
public OdbcRowUpdatedEventArgs(DataRow row, IDbCommand command, StatementType statementType,
DataTableMapping
tableMapping)
fx\src\data\System\Data\OleDb\OleDbDataAdapter.cs (2)
152
override protected RowUpdatedEventArgs CreateRowUpdatedEvent(DataRow dataRow, IDbCommand command, StatementType statementType,
DataTableMapping
tableMapping) {
156
override protected RowUpdatingEventArgs CreateRowUpdatingEvent(DataRow dataRow, IDbCommand command, StatementType statementType,
DataTableMapping
tableMapping) {
fx\src\data\System\Data\OleDb\OleDbRowUpdatedEvent.cs (1)
17
public OleDbRowUpdatedEventArgs(DataRow dataRow, IDbCommand command, StatementType statementType,
DataTableMapping
tableMapping)
fx\src\data\System\Data\OleDb\OleDbRowUpdatingEvent.cs (1)
17
public OleDbRowUpdatingEventArgs(DataRow dataRow, IDbCommand command, StatementType statementType,
DataTableMapping
tableMapping)
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (1)
45
private readonly
DataTableMapping
_tableMapping;
fx\src\data\System\Data\SqlClient\SqlDataAdapter.cs (2)
182
override protected RowUpdatedEventArgs CreateRowUpdatedEvent(DataRow dataRow, IDbCommand command, StatementType statementType,
DataTableMapping
tableMapping) {
186
override protected RowUpdatingEventArgs CreateRowUpdatingEvent(DataRow dataRow, IDbCommand command, StatementType statementType,
DataTableMapping
tableMapping) {
fx\src\data\System\Data\SqlClient\SqlRowUpdatedEvent.cs (1)
18
public SqlRowUpdatedEventArgs(DataRow row, IDbCommand command, StatementType statementType,
DataTableMapping
tableMapping)
fx\src\data\System\Data\SqlClient\SqlRowUpdatingEvent.cs (1)
16
public SqlRowUpdatingEventArgs(DataRow row, IDbCommand command, StatementType statementType,
DataTableMapping
tableMapping)