2 types derived from DbAggregate
System.Data.Entity (2)
System\Data\Common\CommandTrees\Aggregates.cs (2)
58
public sealed class DbGroupAggregate :
DbAggregate
70
public sealed class DbFunctionAggregate :
DbAggregate
43 references to DbAggregate
System.Data.Entity (43)
System\Data\Common\CommandTrees\BasicExpressionVisitor.cs (4)
139
/// Convenience method to visit each <see cref="
DbAggregate
"/> in the list, if the list is non-null.
143
public virtual void VisitAggregateList(IList<
DbAggregate
> aggregates)
153
/// Convenience method to visit the specified <see cref="
DbAggregate
"/>.
157
public virtual void VisitAggregate(
DbAggregate
aggregate)
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (4)
125
protected virtual
DbAggregate
VisitAggregate(
DbAggregate
aggregate)
964
IList<
DbAggregate
> newAggs = this.VisitList<
DbAggregate
>(expression.Aggregates, this.VisitAggregate);
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (5)
66
public static KeyValuePair<string,
DbAggregate
> As(this
DbAggregate
value, string alias)
68
return new KeyValuePair<string,
DbAggregate
>(alias, value);
477
public static DbGroupByExpression GroupBy(this DbGroupExpressionBinding input, IEnumerable<KeyValuePair<string, DbExpression>> keys, IEnumerable<KeyValuePair<string,
DbAggregate
>> aggregates)
480
System.Collections.ObjectModel.ReadOnlyCollection<
DbAggregate
> validAggregates;
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (2)
561
internal static TypeUsage ValidateGroupBy(DbGroupExpressionBinding input, IEnumerable<KeyValuePair<string, DbExpression>> keys, IEnumerable<KeyValuePair<string,
DbAggregate
>> aggregates, out DbExpressionList validKeys, out System.Collections.ObjectModel.ReadOnlyCollection<
DbAggregate
> validAggregates)
System\Data\Common\CommandTrees\Internal\ExpressionDumper.cs (1)
766
foreach (
DbAggregate
agg in e.Aggregates)
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (1)
639
foreach (
var
a in e.Aggregates)
System\Data\Common\CommandTrees\RelationalExpressions.cs (4)
235
private readonly System.Collections.ObjectModel.ReadOnlyCollection<
DbAggregate
> _aggregates;
240
System.Collections.ObjectModel.ReadOnlyCollection<
DbAggregate
> aggregates)
264
/// Gets an <see cref="
DbAggregate
"/> list that provides the aggregates to apply.
266
public IList<
DbAggregate
> Aggregates { get { return _aggregates; } }
System\Data\Common\EntitySql\SemanticAnalyzer.cs (4)
3726
List<KeyValuePair<string,
DbAggregate
>> aggregates = new List<KeyValuePair<string,
DbAggregate
>>(sr.CurrentScopeRegion.GroupAggregateInfos.Count);
3733
aggregates.Add(new KeyValuePair<string,
DbAggregate
>(
3752
aggregates.Add(new KeyValuePair<string,
DbAggregate
>(groupAggregateVarRef.VariableName, groupAggregateDefinition));
System\Data\Common\EntitySql\SemanticResolver.cs (2)
1462
internal void AttachToAstNode(string aggregateName,
DbAggregate
aggregateDefinition)
1469
internal
DbAggregate
AggregateDefinition;
System\Data\Objects\ELinq\MethodCallTranslator.cs (3)
2760
List<KeyValuePair<string,
DbAggregate
>> aggregates = new List<KeyValuePair<string,
DbAggregate
>>();
2762
aggregates.Add(new KeyValuePair<string,
DbAggregate
>(GroupColumnName, sourceGroupBinding.GroupAggregate));
System\Data\Query\PlanCompiler\CTreeGenerator.cs (5)
1735
Dictionary<Var,
DbAggregate
> aggMap = new Dictionary<Var,
DbAggregate
>();
1780
List<KeyValuePair<string,
DbAggregate
>> aggregates = new List<KeyValuePair<string,
DbAggregate
>>();
1787
aggregates.Add(new KeyValuePair<string,
DbAggregate
>(aggColName, aggMap[aggVar]));
System\Data\Query\PlanCompiler\ITreeGenerator.cs (1)
2499
DbAggregate
agg = e.Aggregates[idx];
System\Data\SqlClient\SqlGen\Sql8ConformanceChecker.cs (3)
104
private bool VisitAggregate(
DbAggregate
aggregate)
167
private bool VisitAggregateList(IList<
DbAggregate
> list)
169
return VisitList<
DbAggregate
>(VisitAggregate, list);
System\Data\SqlClient\SqlGen\SqlGenerator.cs (4)
1510
foreach (
DbAggregate
aggregate in e.Aggregates)
2650
private static SqlBuilder VisitAggregate(
DbAggregate
aggregate, object aggregateArgument)
4253
static bool GroupByAggregatesNeedInnerQuery(IList<
DbAggregate
> aggregates, string inputVarRefName)
4255
foreach (
DbAggregate
aggregate in aggregates)