Inheritance: SimpleDbExpression
Beispiel #1
0
 public QueryExpression(SelectExpression select, Expression source, Expression where, IEnumerable<OrderExpression> orderBy, Expression limit, bool useConsistency)
 {
     _select = select;
     _source = source;
     _where = where;
     _orderBy = orderBy ?? new List<OrderExpression>();
     _limit = limit;
     _useConsistency = useConsistency;
 }
 public static QueryExpression Query(
     SelectExpression select,
     Expression source,
     Expression where,
     IEnumerable<OrderExpression> orderBy,
     Expression limit,
     bool useConsistency)
 {
     return new QueryExpression(select, source, where, orderBy, limit, useConsistency);
 }
Beispiel #3
0
 protected override Expression VisitSimpleDbSelect (SelectExpression sex)
 {
     foreach (var att in sex.Attributes)
     {
         _aggregatedAttributes.Add (att);
     }
     return sex;
 }
 protected virtual Expression VisitSimpleDbSelect(SelectExpression sex)
 {
     return sex;
 }