//模板信息:{"Template":{"Language":"C#"}} //输出信息:{"Extension":".cs","FileName":"BLL\\BAS\\SheetTypeBLL"} using System; using System.Text; using System.Linq; using System.Collections.Generic; using CleanMachine.DAL.BAS; namespace CleanMachine.BLL.BAS { /// /// /// public class SheetTypeBLL { public SheetTypeBLL() { } #region 一般方法 /// /// 存在 /// public bool Exists(int SheetTypeId) { return new SheetTypeDAL().Exists(SheetTypeId); } /// /// 添加一个数据 /// public bool Add(CleanMachine.Model.BAS.SheetType model) { return new SheetTypeDAL().Add(model); } /// /// 更新一个数据 /// public bool Update(CleanMachine.Model.BAS.SheetType model) { return new SheetTypeDAL().Update(model); } /// /// 删除一个数据 /// public bool Delete(string strWhere, object Params = null) { return new SheetTypeDAL().Delete(strWhere,Params); } /// /// 删除一个数据 /// public bool Delete(int SheetTypeId) { return new SheetTypeDAL().Delete(SheetTypeId); } /// /// 获得数据列表 /// public IEnumerable GetList(string strWhere, object Params = null) { return new SheetTypeDAL().GetList(strWhere,Params); } /// /// 获取一个对象 /// public CleanMachine.Model.BAS.SheetType GetModel(int SheetTypeId) { return new SheetTypeDAL().GetModel(SheetTypeId); } #endregion /// /// 查询数据 /// // public IEnumerable GetModelList(RuleGroup rule) // { // return new SheetTypeDAL().GetModelList(rule); // } } }