Ejemplo n.º 1
0
 public static DbQuery PaginationSelect(DbQuery innerSelect, string orderColumn, OrderType orderType, int start, int count)
 {
     return(PaginationSelect(innerSelect, new Dictionary <string, OrderType> {
         { orderColumn, orderType }
     }, start, count));
 }
Ejemplo n.º 2
0
 public abstract void BuildSqlWhere(DbQuery result, string tableName, bool first = true);
Ejemplo n.º 3
0
 public static DbQuery OrderBy(DbQuery dbQuery, string tName, string orderByColumn, OrderType orderType)
 {
     dbQuery.Sql.AppendFormat(ORDER_BY_FORMAT, tName, orderByColumn, orederTypesMap[orderType]);
     return(dbQuery);
 }