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_ManageBLL
{
ISoft_ManageDAL iSoft_ManageDAL = null;
public Soft_ManageBLL()
{
iSoft_ManageDAL = Factory.GetDALByInterfaceName(DALInterface.ISoft_ManageDAL) as ISoft_ManageDAL;
}
///
/// 添加
///
///
///
public bool InsertModel(Model.Soft_Manage model)
{
return iSoft_ManageDAL.InserModel(model);
}
///
/// 更新
///
///
///
public bool UpdateModel(Model.Soft_Manage model)
{
return iSoft_ManageDAL.UpdateModel(model);
}
///
/// 删除
///
///
///
public bool DeleteModel(Model.Soft_Manage model)
{
return iSoft_ManageDAL.DeleteModel(model);
}
///
/// 根据编号获得信息
///
/// 编号
///
public Soft_Manage GetModelByKeyid(int? Keyid)
{
return iSoft_ManageDAL.GetModelByKeyid(Keyid);
}
///
/// 分页查询
///
///
///
public IEnumerable SelectModelPage(Infrastructure.Query.Pagination pagination, string _SoftName, int? _SoftPrice, string _SoftContent, DateTime? _BeginLastUpdateTime, DateTime? _EndLastUpdateTime, string _Operator)
{
return iSoft_ManageDAL.SelectModelPage(pagination, _SoftName, _SoftPrice, _SoftContent, _BeginLastUpdateTime, _EndLastUpdateTime, _Operator);
}
}
}