34 references to DataExpression
System.Data.Common (34)
System\Data\DataColumn.cs (2)
702
internal void BindExpression() =>
DataExpression
!.Bind(_table);
1104
DataExpression
!.Bind(table);
System\Data\DataColumnCollection.cs (2)
345
if (column.
DataExpression
!.DependsOn(column))
549
DataExpression? expr = col.
DataExpression
;
System\Data\DataRow.cs (2)
1438
if (column.
DataExpression
!= null && !_inChangingEvent && _tempRecord == -1 && _newRecord != -1)
1447
Debug.Assert(valueFromStorage.Equals(column.
DataExpression
.Evaluate(this, version)),
System\Data\DataTable.cs (21)
5545
DataColumn[] dependency = dc.
DataExpression
!.GetDependency();
6637
DataColumn[] dependency = dc.
DataExpression
!.GetDependency();
7014
if (col.
DataExpression
!= null && col.
DataExpression
.HasLocalAggregate() && col.Table == this)
7079
if (column.
DataExpression
!.IsTableAggregate() && count > 0)
7082
object aggCurrent = column.
DataExpression
!.Evaluate();
7109
column[row._oldRecord] = column.
DataExpression
.Evaluate(row, DataRowVersion.Original);
7113
column[row._newRecord] = column.
DataExpression
.Evaluate(row, DataRowVersion.Current);
7117
column[row._tempRecord] = column.
DataExpression
.Evaluate(row, DataRowVersion.Proposed);
7156
if (dc.
DataExpression
!= null && dc.
DataExpression
.HasLocalAggregate())
7160
bool isConst = dc.
DataExpression
.IsTableAggregate(); //is expression constant for entire table?
7165
newValue = dc.
DataExpression
.Evaluate(row, expressionVersion);
7182
newValue = dc.
DataExpression
.Evaluate(dr, expressionVersion);
7197
SilentlySetValue(row, dc, version, dc.
DataExpression
== null ? dc.DefaultValue : dc.
DataExpression
.Evaluate(row, version));
7207
if (dc.Table != this || (dc.
DataExpression
!= null && !dc.
DataExpression
.HasLocalAggregate()))
7231
object newValue = dc.
DataExpression
!.Evaluate(cachedRow, foreignVer);
7263
object newValue = dc.
DataExpression
!.Evaluate(parentRow, foreignVer);
7295
object newValue = dc.
DataExpression
!.Evaluate(childRow, foreignVer);
System\Data\DataTableReader.cs (1)
825
DataColumn[] dependency = dc.
DataExpression
!.GetDependency();
System\Data\Filter\AggregateNode.cs (1)
266
return _column.
DataExpression
!.DependsOn(column);
System\Data\Filter\NameNode.cs (5)
97
return _column!.
DataExpression
!.Evaluate();
122
return _column.
DataExpression
!.IsTableAggregate();
131
return _column.
DataExpression
!.HasLocalAggregate();
140
return _column.
DataExpression
!.HasRemoteAggregate();
152
return _column.
DataExpression
!.DependsOn(column);