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