⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 roomtypebll.cs

📁 酒店管理系统 用C#开发 程序简单明了 应用系统
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.Text;
using DAL;
using System.Data;
using Model;

namespace BLL
{
    public class RoomTypeBLL
    {
        RoomTypeDAO roomtypedao=new RoomTypeDAO();
        /// <summary>
        /// 查询房间类型表所有
        /// </summary>
        /// <returns></returns>
        public DataSet Bindselect()
        {
            return roomtypedao.Bindselect();
        }
        /// <summary>
        /// 根据ID删除信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public int delete(int id)
        {
            return roomtypedao.delete(id);
        }
        /// <summary>
        /// 根据ID查询信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public DataSet selectwhereid(int id)
        {
            return roomtypedao.selectwhereid(id);
        }
        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="room"></param>
        /// <returns></returns>
        public int update(RoomTypeEntity room)
        {
            return roomtypedao.update(room);
        }
        /// <summary>
        /// 插入客房类型信息
        /// </summary>
        /// <param name="room"></param>
        /// <returns></returns>
        public int insert(RoomTypeEntity room)
        {
            return roomtypedao.insert(room);
        }
    }
}

⌨️ 快捷键说明

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