seldatasouce.cs

来自「一个简单的网上书店」· CS 代码 · 共 34 行

CS
34
字号
using System;
using System.Collections.Generic;
using System.Text;
using DAL;
using Model;

namespace CommBLL
{
    public class SelDataSouce
    {
        public List<Publishers> selPub() 
        {
            PublisherDal pubDal = new PublisherDal();
            List<Publishers> list = new List<Publishers>();
            list= pubDal.sel();
            return list;
        }
        public List<UserRoles> selRole()
        {
            RoleDal roleDal = new RoleDal();
            List<UserRoles> list = new List<UserRoles>();
            list = roleDal.sel();
            return list;
        }
        public List<BookType> selBookType()
        {
            BookTypeDal bookTypeDal = new BookTypeDal();
            List<BookType> list = new List<BookType>();
            list = bookTypeDal.selBookType();
            return list;
        }
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?