BLL/BLLMed.cs

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Data;
using Models;
using DAL;

namespace BLL
{
   public class BLLMed
    {
        //绑定药品数据
        public DataSet MedBind(int a, int b, string c)
        {
            DALMed bind = new DALMed();
            return bind.MedBind(a,b,c);

        }

        //删除某个药品
        public int DeleteMed(CMedInfo med)
        {
            DALMed delete = new DALMed();
            return delete.DeleteMed(med);
        }


        //通过药品名称查询药品
        public DataSet SelMN(int a, int b, string c, CMedInfo med)
        {
            DALMed select = new DALMed();
            return select.SelMN(a,b,c,med);
        }

        //通过药品编号查询药品
        public DataSet SelMid(int a, int b, string c, CMedInfo med)
        {
            DALMed select = new DALMed();
            return select.SelMid(a,b,c,med);
        }

        //通过药品名称查询是否有药品
        public int CountMNa(CMedInfo med)
        {
            DALMed count = new DALMed();
            return count.CountMNa(med);
        }


        //通过药品编号查询是否有药品
        public int CountMid(CMedInfo med)
        {
            DALMed count = new DALMed();
            return count.CountMid(med);
        }

        //获得某一药品的数据
        public SqlDataReader MedInfo(CMedInfo med)
后面还有 30 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。