roomtypebll.cs
来自「酒店管理系统 用C#开发 程序简单明了 应用系统」· CS 代码 · 共 59 行
CS
59 行
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 + =
减小字号Ctrl + -
显示快捷键?