예제 #1
0
///<summary>
///分页查询一个集合
///</summary>
///<param name="index">页码</param>
///<param name="size">页大小</param>
///<param name="wheres">条件匿名类</param>
///<param name="orderField">排序字段</param>
///<param name="isDesc">是否降序排序</param>
///<returns>实体集合</returns>
        public IEnumerable <Dictionary <string, object> > QueryListX(int index, int size = 10, object columns = null, object wheres = null, string orderField = null, bool isDesc = false)
        {
            return(_dao.QueryListX(index, size, columns, wheres, orderField, isDesc));
        }