8 references to ParentKey
System.Data.Common (8)
System\Data\ConstraintCollection.cs (1)
555
CompareArrays(constraint.
ParentKey
.ColumnsReference, parentColumns) &&
System\Data\ConstraintConverter.cs (1)
54
return new InstanceDescriptor(ctor, new object[] { constr.ConstraintName, constr.
ParentKey
.Table.TableName, constr.ParentColumnNames,
System\Data\DataColumnCollection.cs (1)
525
if (((ForeignKeyConstraint)constraint).
ParentKey
.ContainsColumn(column))
System\Data\ForeignKeyConstraint.cs (4)
512
if (DataRelation.GetChildRows(
ParentKey
, ChildKey, row, DataRowVersion.Default).Length > 0)
578
DataRow? parentRow = DataRelation.GetParentRow(
ParentKey
, ChildKey, childRow, version);
866
return
ParentKey
.ColumnsEqual(key2.
ParentKey
) && ChildKey.ColumnsEqual(key2.ChildKey);
System\Data\UniqueConstraint.cs (1)
198
if (!_key.ColumnsEqual(constraint.
ParentKey
))