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