10 references to EvaluatingScopeRegion
System.Data.Entity (10)
System\Data\Common\EntitySql\SemanticAnalyzer.cs (6)
752DbExpression definition = aggregateInfo.EvaluatingScopeRegion.GroupAggregateBinding.Project(arg); 764aggregateInfo.EvaluatingScopeRegion.GroupAggregateInfos.Add(aggregateInfo); 1307aggregateInfo.EvaluatingScopeRegion.GroupAggregateInfos.Add(aggregateInfo); 3451Debug.Assert(groupKeyAggregateInfo.EvaluatingScopeRegion == groupKeyAggregateInfo.DefiningScopeRegion, "Group key must evaluate on the scope it was defined on."); 3471Debug.Assert(functionAggregateInfo.EvaluatingScopeRegion == functionAggregateInfo.DefiningScopeRegion, "Group key must evaluate on the scope it was defined on."); 3483Debug.Assert(groupPartitionInfo.EvaluatingScopeRegion == groupPartitionInfo.DefiningScopeRegion, "Group key must evaluate on the scope it was defined on.");
System\Data\Common\EntitySql\SemanticResolver.cs (4)
1187/// Validates the aggregate info and computes <see cref="EvaluatingScopeRegion"/> property. 1260/// Recursively validates that <see cref="GroupAggregateInfo.EvaluatingScopeRegion"/> of all contained aggregates 1270if (containedAggregate.EvaluatingScopeRegion.ScopeRegionIndex >= outerBoundaryScopeRegionIndex && 1271containedAggregate.EvaluatingScopeRegion.ScopeRegionIndex <= innerBoundaryScopeRegionIndex)