Cedar.Framework.Common.BaseClasses.PagingModel.PagingModel C# (CSharp) Method

PagingModel() public method

构造函数
public PagingModel ( string spname = null, string tablename = null, string fields = null, string orderfield = null, string sqlwhere = null, int pagesize = null, int pageindex = null, string groupby = null, bool paging = null )
spname string 存储过程名称
tablename string 表名
fields string 字段
orderfield string 排序字段
sqlwhere string 查询条件
pagesize int 页容量
pageindex int 页索引
groupby string 分组
paging bool 是否分页
        public PagingModel(
            string spname = null, string tablename = null, string fields = null, string orderfield = null,
            string sqlwhere = null,
            int? pagesize = null, int? pageindex = null, string groupby = null, bool? paging = null)
        {
            SpName = spname;
            TableName = tablename;
            Fields = fields;
            OrderField = orderfield;
            SqlWhere = sqlwhere;
            PageSize = pagesize;
            PageIndex = pageindex;
            GroupBy = groupby;
            Paging = paging ?? (pagesize > 0);
        }

Same methods

PagingModel::PagingModel ( string spname = null, string maintable = null, string pk = null, string alias = null, string subtable = null, string fields = null, string orderfield = null, string sqlwhere = null, string sqlwherenopaging = null, int pagesize = null, int pageindex = null, string groupby = null, bool paging = null, int pagingquerytype = 1 )
PagingModel