📄 doctorbll.cs
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -