steupselectroombytype.cs
来自「一个基本的酒店管理系统」· CS 代码 · 共 26 行
CS
26 行
using System;
using ConnectDBLibrary;
namespace SetupOperDBLibrary
{
/// <summary>
/// SteupSelectRoomByType 查询房间访问层
/// </summary>
public class SteupSelectRoomByType
{
public void SelectRoomByType(RoomInfoData roomInfo,string RoomType)
{
try
{
string ComTxt=string.Format("exec Select_RoomInfoByType {0}",RoomType);
ConnectAndAccessingDB db=new ConnectAndAccessingDB();
db.Select(ComTxt,roomInfo.RoomInfo_value);
}
catch(Exception ex)
{
throw new ApplicationException("SteupSelectRoomByType 查询房间访问层",ex);
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?