5 writes to _dataTable
System.Data (5)
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (5)
73_dataTable = datatable; // setting only DataTable, not DataSet implies chapters are not supported 142_dataTable = _tableMapping.GetDataTableBySchemaAction(_dataSet, schemaAction); 622_dataTable = null; 647_dataTable = null; 964_dataTable = null;
39 references to _dataTable
System.Data (39)
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (39)
99else if (null != _dataTable) { 100int index = _adapter.IndexOfDataSetTable(_dataTable.TableName); 107_tableMapping = new DataTableMapping(_dataTable.TableName, _dataTable.TableName); 113throw ADP.MissingTableMappingDestination(_dataTable.TableName); 126else if (null != _dataTable) { 127int index = _adapter.IndexOfDataSetTable(_dataTable.TableName); // MDAC 66034 132_tableMapping = new DataTableMapping(_dataTable.TableName, _dataTable.TableName); 141if (null == _dataTable) { 144if (null != _dataTable) { 166return _dataTable; 350dataRow = _dataTable.LoadDataRow(mapped, _loadOption); 353dataRow = _dataTable.LoadDataRow(mapped, true); 356dataRow = _dataTable.LoadDataRow(mapped, false); 402parentChapterColumn = _dataTable.Columns[i]; 406parentChapterColumn = _dataTable.Columns[_indexMap[i]]; 489DataColumnCollection columnCollection = _dataTable.Columns; 492bool alwaysCreateColumns = ((_dataTable.Columns.Count == 0) && ((_tableMapping.ColumnMappings == null) || (_tableMapping.ColumnMappings.Count == 0)) && (mappingAction == MissingMappingAction.Passthrough)); 527dataColumn = DataColumnMapping.CreateDataColumnBySchemaAction(_fieldNames[i], _fieldNames[i], _dataTable, fieldType, schemaAction); 530dataColumn = _tableMapping.GetDataColumn(_fieldNames[i], fieldType, _dataTable, mappingAction, schemaAction); 590chapterColumn = _tableMapping.GetDataColumn(_tableMapping.SourceTable, fieldType, _dataTable, mappingAction, schemaAction); 603if ((null != _dataSet) && (null == _dataTable.DataSet)) { 605AddItemToAllowRollback(ref addedItems, _dataTable); 606_dataSet.Tables.Add(_dataTable); 610columnCollection = _dataTable.Columns; 653bool addPrimaryKeys = (((0 == _dataTable.PrimaryKey.Length) && ((4 <= (int)_loadOption) || (0 == _dataTable.Rows.Count))) 654|| (0 == _dataTable.Columns.Count)); // MDAC 67033 673DataColumnCollection columnCollection = _dataTable.Columns; 713dataColumn = _tableMapping.GetDataColumn(_fieldNames[sortedIndex], fieldType, _dataTable, mappingAction, schemaAction); 889chapterColumn = _tableMapping.GetDataColumn(_tableMapping.SourceTable, fieldType, _dataTable, mappingAction, schemaAction); 906if ((null != _dataSet) && null == _dataTable.DataSet) { 907AddItemToAllowRollback(ref addedItems, _dataTable); 908_dataSet.Tables.Add(_dataTable); 923_dataTable.PrimaryKey = keys; 927ConstraintCollection constraints = _dataTable.Constraints; 950if (!commonFromMultiTable && !ADP.IsEmpty(commonBaseTable) && ADP.IsEmpty(_dataTable.TableName)) { 951_dataTable.TableName = commonBaseTable;