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()) }); }
public Q SetWhere(Expressions.LogicalNode <W> .Handler h) { this.Where = h(new W()); return((Q)this); }