using System; using System.Collections.Generic; using System.Linq; using System.Text; using CY.IDAL; using CY.Model; using AbstractFactory; using CY.IBaseDAL; using CY.Infrastructure.DESEncrypt; using CY.Infrastructure.Query; namespace CY.BLL { public class Soft_UpRecordBLL { ISoft_UpRecordDAL iSoft_UpRecordDAL = null; public Soft_UpRecordBLL() { iSoft_UpRecordDAL = Factory.GetDALByInterfaceName(DALInterface.ISoft_UpRecordDAL) as ISoft_UpRecordDAL; } /// /// 添加 /// /// /// public bool InsertModel(Model.Soft_UpRecord model) { return iSoft_UpRecordDAL.InserModel(model); } /// /// 更新 /// /// /// public bool UpdateModel(Model.Soft_UpRecord model) { return iSoft_UpRecordDAL.UpdateModel(model); } /// /// 删除 /// /// /// public bool DeleteModel(Model.Soft_UpRecord model) { return iSoft_UpRecordDAL.DeleteModel(model); } /// /// 根据编号获得信息 /// /// 编号 /// public Soft_UpRecord GetModelByKeyid(int? Keyid) { return iSoft_UpRecordDAL.GetModelByKeyid(Keyid); } /// /// 分页查询 /// /// /// public IEnumerable SelectModelPage(Infrastructure.Query.Pagination pagination,int? _ClientId,string _ClientName,int? _SoftId,string _SoftName,string _KeyCode,string _UpdateIP,DateTime? _BeginLastUpdateTime,DateTime? _EndLastUpdateTime,string _Operator) { return iSoft_UpRecordDAL.SelectModelPage(pagination, _ClientId, _ClientName, _SoftId, _SoftName, _KeyCode, _UpdateIP,_BeginLastUpdateTime,_EndLastUpdateTime, _Operator); } } }