You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System.Linq.Expressions;
|
|
|
|
|
|
|
|
|
|
namespace Connected.Expressions;
|
|
|
|
|
|
|
|
|
|
public sealed class AggregateExpression : DatabaseExpression
|
|
|
|
|
{
|
|
|
|
|
public AggregateExpression(Type type, string aggregateName, Expression argument, bool isDistinct)
|
|
|
|
|
: base(DatabaseExpressionType.Aggregate, type)
|
|
|
|
|
{
|
|
|
|
|
AggregateName = aggregateName;
|
|
|
|
|
Argument = argument;
|
|
|
|
|
IsDistinct = isDistinct;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string AggregateName { get; }
|
|
|
|
|
public Expression Argument { get; }
|
|
|
|
|
public bool IsDistinct { get; }
|
|
|
|
|
}
|