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