1 write to _childKey
System.Data.Common (1)
System\Data\ForeignKeyConstraint.cs (1)
820
_childKey
= new DataKey(childColumns, true);
38 references to _childKey
System.Data.Common (38)
System\Data\ForeignKeyConstraint.cs (38)
111
return
_childKey
;
124
return
_childKey
.ToArray();
137
return
_childKey
.Table;
143
internal string[] ChildColumnNames =>
_childKey
.GetColumnNames();
174
Index childIndex =
_childKey
.GetSortIndex();
207
Index childIndex =
_childKey
.GetSortIndex();
232
Index childIndex =
_childKey
.GetSortIndex(row.RowState == DataRowState.Deleted ? DataViewRowState.Deleted : DataViewRowState.CurrentRows);
273
Index childIndex =
_childKey
.GetSortIndex();
314
object[] proposedKey = new object[
_childKey
.ColumnsReference.Length];
315
for (int i = 0; i <
_childKey
.ColumnsReference.Length; i++)
326
rows[j].SetKeyValues(
_childKey
, proposedKey);
333
object[] proposedKey = new object[
_childKey
.ColumnsReference.Length];
334
for (int i = 0; i <
_childKey
.ColumnsReference.Length; i++)
335
proposedKey[i] =
_childKey
.ColumnsReference[i].DefaultValue;
345
rows[j].SetKeyValues(
_childKey
, proposedKey);
362
Index childIndex =
_childKey
.GetSortIndex(row.RowState == DataRowState.Deleted ? DataViewRowState.OriginalRows : DataViewRowState.CurrentRows);
418
Index childIndex =
_childKey
.GetSortIndex();
446
rows[j].SetKeyValues(
_childKey
, proposedKey);
454
object[] proposedKey = new object[
_childKey
.ColumnsReference.Length];
455
for (int i = 0; i <
_childKey
.ColumnsReference.Length; i++)
465
rows[j].SetKeyValues(
_childKey
, proposedKey);
472
object[] proposedKey = new object[
_childKey
.ColumnsReference.Length];
473
for (int i = 0; i <
_childKey
.ColumnsReference.Length; i++)
474
proposedKey[i] =
_childKey
.ColumnsReference[i].DefaultValue;
483
rows[j].SetKeyValues(
_childKey
, proposedKey);
569
childRow.HasKeyChanged(
_childKey
))
573
object[] childKeyValues = childRow.GetKeyValues(
_childKey
);
584
DataTable.SetKeyValues(
_childKey
, parentKeyValues, parentKeyValuesRecord);
585
if (
_childKey
.RecordsEqual(childRow._tempRecord, parentKeyValuesRecord))
593
object[] childValues = childRow.GetKeyValues(
_childKey
);
600
if (
_childKey
.Table == _parentKey.Table && childRow._tempRecord != -1)
629
_childKey
.CheckState();
631
if (_parentKey.Table.DataSet !=
_childKey
.Table.DataSet)
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);