2022-12-02 15:03:34 +01:00

18 lines
480 B
C#

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; }
}