39 lines
1.1 KiB
C#
39 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Data;
|
|
namespace DataDictionary.BLL
|
|
{
|
|
public class OperationRoom
|
|
{
|
|
public static void Add(Model.OperationRoom OperationRoomObj)
|
|
{
|
|
new DAL.OperationRoomDB().Add(OperationRoomObj);
|
|
}
|
|
|
|
public static void Update(Model.OperationRoom OperationRoomObj)
|
|
{
|
|
new DAL.OperationRoomDB().Update(OperationRoomObj);
|
|
}
|
|
|
|
public static Model.OperationRoom GetModel(int Id)
|
|
{
|
|
return new DAL.OperationRoomDB().GetModel(Id);
|
|
}
|
|
|
|
public static DataTable GetDataTable(string strWhere)
|
|
{
|
|
return new DAL.OperationRoomDB().GetDataTable(strWhere);
|
|
}
|
|
public static List<Model.OperationRoom> GetOperationRooms(string strWhere)
|
|
{
|
|
return new DAL.OperationRoomDB().GetOperationRooms(strWhere);
|
|
}
|
|
public static int GetOperationRoomIdByName(string Name)
|
|
{
|
|
return new DAL.OperationRoomDB().GetOperationRoomIdByName(Name);
|
|
}
|
|
}
|
|
}
|