mvc.net分页查询案例——业务逻辑层BLL(HouseBLL.cs)

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.Data.Sql;
using System.Data;
using HouseSys.Models;
using HouseSys.DLL;

namespace HouseSys.BLL
{

    public class HouseBLL
    {
        HouseDLL houseDll = new HouseDLL();
        public List<HouseModel> GetHousesAll(int pageIndex, int pageSize,out int AllCount)
        {
            AllCount = houseDll.GetHouseCount();
            return houseDll.GetHousesAll(pageIndex,pageSize,null);
        }
    }
}

上一篇:LG V60解锁Bootloader教程


下一篇:el-table 分页