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