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