1 write to _table
System.Data.Common (1)
System\Data\DataColumnCollection.cs (1)
40
_table
= table;
47 references to _table
System.Data.Common (47)
System\Data\DataColumnCollection.cs (47)
141
if (
_table
.XmlText != null &&
_table
.XmlText != column)
146
if (
_table
.ElementColumnCount > 0)
162
_table
.XmlText = column;
180
_table
.ElementColumnCount++;
183
if (!
_table
.fInitInProgress && column != null && column.Computed)
192
if (
_table
.fInitInProgress)
325
if (column._table ==
_table
)
342
column.SetTable(
_table
);
343
if (!
_table
.fInitInProgress && column.Computed)
351
if (0 <
_table
.RecordCapacity)
354
column.SetCapacity(
_table
.RecordCapacity);
358
for (int record = 0; record <
_table
.RecordCapacity; record++)
398
if (oldArray[oldCur].Table ==
_table
)
410
if (newArray[newCur].Table !=
_table
)
432
for (int i = 0; i <
_table
.Rows.Count; i++)
434
_table
.Rows[i].ClearError(column);
461
if (column._table !=
_table
)
474
_table
.OnRemoveColumnInternal(column);
477
if (
_table
._primaryKey != null &&
_table
._primaryKey.Key.ContainsColumn(column))
489
for (int i = 0; i <
_table
.ParentRelations.Count; i++)
491
if (
_table
.ParentRelations[i].ChildKey.ContainsColumn(column))
496
throw ExceptionBuilder.CannotRemoveChildKey(
_table
.ParentRelations[i].RelationName);
500
for (int i = 0; i <
_table
.ChildRelations.Count; i++)
502
if (
_table
.ChildRelations[i].ParentKey.ContainsColumn(column))
507
throw ExceptionBuilder.CannotRemoveChildKey(
_table
.ChildRelations[i].RelationName);
511
for (int i = 0; i <
_table
.Constraints.Count; i++)
513
if (
_table
.Constraints[i].ContainsColumn(column))
517
throw ExceptionBuilder.CannotRemoveConstraint(
_table
.Constraints[i].ConstraintName,
_table
.Constraints[i].Table!.TableName);
520
if (
_table
.DataSet != null)
522
for (ParentForeignKeyConstraintEnumerator en = new ParentForeignKeyConstraintEnumerator(
_table
.DataSet,
_table
); en.GetNext();)
538
if (_fInClear && (col.Table ==
_table
|| col.Table == null))
564
foreach (Index _ in
_table
.LiveIndexes) { }
596
if (
_table
.fInitInProgress && _delayedAddRangeColumns != null)
622
_table
.ElementColumnCount = 0;
719
int hashcode =
_table
.GetSpecialHashCode(name);
725
NamesEqual(column.ColumnName, name, false,
_table
.Locale) != 0)
797
_table
.UpdatePropertyDescriptorCollectionCache();
809
_table
.UpdatePropertyDescriptorCollectionCache();
829
column._hashCode =
_table
.GetSpecialHashCode(name);
850
if ((column == null) && NamesEqual(name, MakeName(_defaultNameIndex), true,
_table
.Locale) != 0)
878
_table
.ElementColumnCount--;
903
throw ExceptionBuilder.ColumnNotInTheTable(name,
_table
.TableName);
917
if (NamesEqual(name, MakeName(_defaultNameIndex - 1), true,
_table
.Locale) != 0)