doctorbll.cs

来自「不错的一个做的医院管理系统源码」· CS 代码 · 共 38 行

CS
38
字号
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using Youzi.Model;
using Youzi.DAL;

namespace Youzi.BLL
{
   public  class DoctorBLL
    {
       public DataSet SelectAll()
       {
           DoctorDAL dal = new DoctorDAL();
           return dal.SelectAll();
       }

       public int Insert(DoctorInfo entity)
       {
           DoctorDAL dal = new DoctorDAL();
           return dal.Insert(entity);
       }

       public int Delete(int id)
       {
           DoctorDAL dal = new DoctorDAL();
           return dal.Delete(id);
       }

       public int Update(DoctorInfo entity)
       {
           DoctorDAL dal = new DoctorDAL();
           return dal.Update(entity);
       }
    }
}

⌨️ 快捷键说明

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