8 references to ParentKey
System.Data (8)
fx\src\data\System\Data\ConstraintCollection.cs (1)
499
CompareArrays(constraint.
ParentKey
.ColumnsReference, parentColumns) &&
fx\src\data\System\Data\ConstraintConverter.cs (1)
59
return new InstanceDescriptor(ctor, new object[] { constr.ConstraintName, constr.
ParentKey
.Table.TableName, constr.ParentColumnNames,
fx\src\data\System\Data\DataColumnCollection.cs (1)
474
if (((ForeignKeyConstraint)constraint).
ParentKey
.ContainsColumn(column))
fx\src\data\System\Data\ForeignKeyConstraint.cs (4)
461
if (DataRelation.GetChildRows(this.
ParentKey
, this.ChildKey, row, DataRowVersion.Default).Length > 0) {
512
DataRow parentRow = DataRelation.GetParentRow(this.
ParentKey
, this.ChildKey, childRow, version);
765
return this.
ParentKey
.ColumnsEqual(key2.
ParentKey
) && this.ChildKey.ColumnsEqual(key2.ChildKey);
fx\src\data\System\Data\UniqueConstraint.cs (1)
189
if (!key.ColumnsEqual(constraint.
ParentKey
))