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)); }
public abstract void BuildSqlWhere(DbQuery result, string tableName, bool first = true);
public static DbQuery OrderBy(DbQuery dbQuery, string tName, string orderByColumn, OrderType orderType) { dbQuery.Sql.AppendFormat(ORDER_BY_FORMAT, tName, orderByColumn, orederTypesMap[orderType]); return(dbQuery); }