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

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);
        }
    }
}

标签:houseDll,pageSize,int,System,HouseSys,BLL,mvc,cs,using
来源: https://blog.51cto.com/u_12718584/2843741