1 write to _parentKey
System.Data.Common (1)
System\Data\ForeignKeyConstraint.cs (1)
819
_parentKey
= new DataKey(parentColumns, true);
28 references to _parentKey
System.Data.Common (28)
System\Data\ForeignKeyConstraint.cs (28)
141
internal string[] ParentColumnNames =>
_parentKey
.GetColumnNames();
178
Index parentIndex =
_parentKey
.GetSortIndex();
210
Index parentIndex =
_parentKey
.GetSortIndex();
233
object[] key = row.GetKeyValues(
_parentKey
, row.RowState == DataRowState.Deleted ? DataRowVersion.Original : DataRowVersion.Default);
267
object[] currentKey = row.GetKeyValues(
_parentKey
, DataRowVersion.Current);
295
object[] key = row.GetKeyValues(
_parentKey
, DataRowVersion.Default);
363
object[] key = row.GetKeyValues(
_parentKey
, row.RowState == DataRowState.Modified ? DataRowVersion.Current : DataRowVersion.Default);
394
if (row.HasKeyChanged(
_parentKey
))
412
object[] currentKey = row.GetKeyValues(
_parentKey
, DataRowVersion.Current);
440
object[] proposedKey = row.GetKeyValues(
_parentKey
, DataRowVersion.Proposed);
532
if (row.HasKeyChanged(
_parentKey
))
581
object[] parentKeyValues = parentRow.GetKeyValues(
_parentKey
, action == DataRowAction.Rollback ? version : DataRowVersion.Default);
596
Index parentIndex =
_parentKey
.GetSortIndex();
600
if (_childKey.Table ==
_parentKey
.Table && childRow._tempRecord != -1)
605
DataColumn column =
_parentKey
.ColumnsReference[lo];
628
_parentKey
.CheckState();
631
if (
_parentKey
.Table.DataSet != _childKey.Table.DataSet)
636
for (int i = 0; i <
_parentKey
.ColumnsReference.Length; i++)
638
if (
_parentKey
.ColumnsReference[i].DataType != _childKey.ColumnsReference[i].DataType ||
639
((
_parentKey
.ColumnsReference[i].DataType == typeof(DateTime)) && (
_parentKey
.ColumnsReference[i].DateTimeMode != _childKey.ColumnsReference[i].DateTimeMode) && ((
_parentKey
.ColumnsReference[i].DateTimeMode & _childKey.ColumnsReference[i].DateTimeMode) != DataSetDateTime.Unspecified)))
643
if (_childKey.ColumnsEqual(
_parentKey
))
682
_parentKey
.ContainsColumn(column) || _childKey.ContainsColumn(column);
880
return
_parentKey
.ToArray();
889
return
_parentKey
.ColumnsReference;
901
return
_parentKey
;
928
return
_parentKey
.Table;