示例#1
0
 public FunctionWhereConditionExpression(string @operator, WhereExpression whereExpression) : base(@operator)
 {
     NodeType             = (ExpressionType)DbExpressionType.FunctionWhereCondition;
     this.WhereExpression = whereExpression;
 }
示例#2
0
 public SelectExpression(Type type, string alias, List <ColumnExpression> columns, Expression from, string columnsPrefix, int?skip = null, int?take = null, WhereExpression where = null,
                         List <GroupByExpression> groupBy = null, List <OrderByExpression> orderBy = null)
     : this(type, alias, columns, from, where, groupBy, orderBy)
 {
     this.ColumnsPrefix = columnsPrefix;
     this.Skip          = skip;
     this.Take          = take;
 }
示例#3
0
 public virtual Expression VisitWhere(WhereExpression whereExpression)
 {
     return(whereExpression);
 }
示例#4
0
 public SelectExpression(Type type, string alias, List <ColumnExpression> columns, Expression from, WhereExpression where = null,
                         List <GroupByExpression> groupBy = null, List <OrderByExpression> orderBy = null)
     : base((ExpressionType)DbExpressionType.Select, type)
 {
     Alias   = alias;
     Columns = columns;
     From    = from;
     Where   = where;
     GroupBy = groupBy ?? new List <GroupByExpression>();
     OrderBy = orderBy ?? new List <OrderByExpression>();
 }