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