Ejemplo n.º 1
0
 public static ValueNode AliasedCol <TTable>(AggregateType type, ValueNode parameter, string alias)
 {
     return(ValueNode.NewNamedColumn(
                new AliasedColumnNode(
                    ValueNode.NewAggregate(new Tuple <AggregateType, ValueNode>(type, parameter)),
                    alias)));
 }
Ejemplo n.º 2
0
 public static ValueNode Aggregate(AggregateType type, ValueNode parameter)
 {
     return(ValueNode.NewAggregate(new Tuple <AggregateType, ValueNode>(type, parameter)));
 }