Beispiel #1
0
 public static Q New(
     Expressions.LogicalNode <W> .Handler where      = null
     , Orientations.LogicalNode <O> .Handler orderby = null
     , int pageSize  = 0
     , int pageIndex = 0
     , ColumnList <CS> .Handler columns = null
     )
 {
     return(new Q {
         PageIndex = pageIndex,
         PageSize = pageSize,
         Where = where == null ? new W() : where (new W()),
         OrderBy = orderby == null ? new O() : orderby(new O()),
         Columns = columns == null ? new CS() : columns(new CS())
     });
 }
Beispiel #2
0
 public Q SetWhere(Expressions.LogicalNode <W> .Handler h)
 {
     this.Where = h(new W());
     return((Q)this);
 }