1 write to _dependentColumns
System.Data.Common (1)
System\Data\DataTable.cs (1)
6945
_dependentColumns
??= new List<DataColumn>();
29 references to _dependentColumns
System.Data.Common (29)
System\Data\DataTable.cs (27)
3358
if (
_dependentColumns
!= null &&
_dependentColumns
.Count > 0)
4352
_dependentColumns
!= null &&
_dependentColumns
.Count > 0)
4450
if (
_dependentColumns
!= null &&
_dependentColumns
.Count > 0)
6947
if (!
_dependentColumns
.Contains(expressionColumn))
6950
_dependentColumns
.Add(expressionColumn);
6956
if (
_dependentColumns
!= null &&
_dependentColumns
.Contains(expressionColumn))
6958
_dependentColumns
.Remove(expressionColumn);
6967
if ((null !=
_dependentColumns
) && (0 <
_dependentColumns
.Count))
6974
EvaluateDependentExpressions(
_dependentColumns
, row, DataRowVersion.Original, null);
6978
EvaluateDependentExpressions(
_dependentColumns
, row, DataRowVersion.Current, null);
6982
EvaluateDependentExpressions(
_dependentColumns
, row, DataRowVersion.Proposed, null);
6998
EvaluateDependentExpressions(
_dependentColumns
, row, DataRowVersion.Original, cachedRows);
7002
EvaluateDependentExpressions(
_dependentColumns
, row, DataRowVersion.Current, cachedRows);
7006
EvaluateDependentExpressions(
_dependentColumns
, row, DataRowVersion.Proposed, cachedRows);
7010
else if ((action == DataRowAction.Delete || (action == DataRowAction.Rollback && row._oldRecord == -1 && row._newRecord == -1)) &&
_dependentColumns
!= null)
7012
foreach (DataColumn col in
_dependentColumns
)
7022
EvaluateDependentExpressions(
_dependentColumns
, tableRow, DataRowVersion.Original, null);
7031
EvaluateDependentExpressions(
_dependentColumns
, tableRow, DataRowVersion.Proposed, null);
7044
EvaluateDependentExpressions(
_dependentColumns
, tableRow, DataRowVersion.Current, null);
7057
relatedRow.Table.EvaluateDependentExpressions(relatedRow.Table.
_dependentColumns
, relatedRow, DataRowVersion.Original, null);
7061
relatedRow.Table.EvaluateDependentExpressions(relatedRow.Table.
_dependentColumns
, relatedRow, DataRowVersion.Current, null);
7065
relatedRow.Table.EvaluateDependentExpressions(relatedRow.Table.
_dependentColumns
, relatedRow, DataRowVersion.Proposed, null);
System\Data\Merger.cs (2)
302
if (targetRow.Table.
_dependentColumns
!= null && targetRow.Table.
_dependentColumns
.Count > 0)