1 write to _table
System.Data.Common (1)
System\Data\ConstraintCollection.cs (1)
33_table = table;
22 references to _table
System.Data.Common (22)
System\Data\ConstraintCollection.cs (22)
60internal DataTable Table => _table; 97if (1 < _table.NestedParentRelations.Length) 101throw ExceptionBuilder.CantAddConstraintToMultipleNestedTable(_table.TableName); 200if (_table.fInitInProgress) 226if (columns[i].Table != _table) 376if (constraint.Table != _table) 425_table.PrimaryKey = null; 427for (int i = 0; i < _table.ParentRelations.Count; i++) 429_table.ParentRelations[i].SetChildKeyConstraint(null); 431for (int i = 0; i < _table.ChildRelations.Count; i++) 433_table.ChildRelations[i].SetParentKeyConstraint(null); 436if (_table.fInitInProgress && _delayLoadingConstraints != null) 629int result = NamesEqual(constraint.ConstraintName, constraintName, false, _table.Locale); 672if (NamesEqual(name, ((Constraint)List[i]!).ConstraintName, true, _table.Locale) != 0) 677if (NamesEqual(name, MakeName(_defaultNameIndex), true, _table.Locale) != 0) 736if (NamesEqual(name, MakeName(_defaultNameIndex - 1), true, _table.Locale) != 0) 769parents[j] = _table.Columns[constr._columnNames[j]]!; 772if (_table._primaryKey != null) 797if (_table.DataSet == null) 809parents[j] = _table.DataSet.Tables[constr._parentTableName]!.Columns[constr._parentColumnNames[j]]!; 811parents[j] = _table.DataSet.Tables[constr._parentTableName, constr._parentTableNamespace]!.Columns[constr._parentColumnNames[j]]!; 812childs[j] = _table.Columns[constr._childColumnNames[j]]!;