1 write to table
System.Data (1)
fx\src\data\System\Data\DataColumnCollection.cs (1)
50this.table = table;
50 references to table
System.Data (50)
fx\src\data\System\Data\DataColumnCollection.cs (50)
145if (table.XmlText != null && table.XmlText != column) 147if (table.ElementColumnCount > 0) 156table.XmlText = column; 167table.ElementColumnCount ++; 169if (!table.fInitInProgress && column != null && column.Computed) { 178if (table.fInitInProgress) { 315if (column.table == table) 325column.SetTable(table); 326if (!table.fInitInProgress && column.Computed) { 332if (0 < table.RecordCapacity) { 334column.SetCapacity(table.RecordCapacity); 338for (int record = 0; record < table.RecordCapacity; record++) { 342if (table.DataSet != null) { 377if (oldArray[oldCur].Table == table) { 387if (newArray[newCur].Table != table) { 406for (int i = 0; i < table.Rows.Count; i++) { 407table.Rows[i].ClearError(column); 431if (column.table != table) { 439table.OnRemoveColumnInternal(column); 442if (table.primaryKey != null && table.primaryKey.Key.ContainsColumn(column)) { 448for (int i = 0; i < table.ParentRelations.Count; i++) { 449if (table.ParentRelations[i].ChildKey.ContainsColumn(column)) { 453throw ExceptionBuilder.CannotRemoveChildKey(table.ParentRelations[i].RelationName); 456for (int i = 0; i < table.ChildRelations.Count; i++) { 457if (table.ChildRelations[i].ParentKey.ContainsColumn(column)) { 461throw ExceptionBuilder.CannotRemoveChildKey(table.ChildRelations[i].RelationName); 464for (int i = 0; i < table.Constraints.Count; i++) { 465if (table.Constraints[i].ContainsColumn(column)) 469throw ExceptionBuilder.CannotRemoveConstraint(table.Constraints[i].ConstraintName, table.Constraints[i].Table.TableName); 471if (table.DataSet != null) { 472for (ParentForeignKeyConstraintEnumerator en = new ParentForeignKeyConstraintEnumerator(table.DataSet, table); en.GetNext();) { 485if (fInClear && (col.Table == table || col.Table == null)) 504foreach (Index index in table.LiveIndexes) { 547if (table.fInitInProgress && delayedAddRangeColumns != null) { 570table.ElementColumnCount = 0; 651int hashcode = table.GetSpecialHashCode(name); 657NamesEqual(column.ColumnName, name, false, table.Locale) != 0 ) { 718table.UpdatePropertyDescriptorCollectionCache(); 720if ((null != ccevent) && !table.SchemaLoading && !table.fInitInProgress) { 738table.UpdatePropertyDescriptorCollectionCache(); 757column._hashCode = table.GetSpecialHashCode(name); 773if ((column == null) && NamesEqual(name, MakeName(defaultNameIndex), true, table.Locale) != 0) { 796table.ElementColumnCount --; 817throw ExceptionBuilder.ColumnNotInTheTable(name, table.TableName); 829if (NamesEqual(name, MakeName(defaultNameIndex - 1), true, table.Locale) != 0) {