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;
|
}
|
|
/// <summary>
|
/// 添加
|
/// </summary>
|
/// <param name="model"></param>
|
/// <returns></returns>
|
public bool InsertModel(Model.Soft_UpRecord model)
|
{
|
return iSoft_UpRecordDAL.InserModel(model);
|
}
|
|
/// <summary>
|
/// 更新
|
/// </summary>
|
/// <param name="model"></param>
|
/// <returns></returns>
|
public bool UpdateModel(Model.Soft_UpRecord model)
|
{
|
|
return iSoft_UpRecordDAL.UpdateModel(model);
|
}
|
|
/// <summary>
|
/// 删除
|
/// </summary>
|
/// <param name="model"></param>
|
/// <returns></returns>
|
public bool DeleteModel(Model.Soft_UpRecord model)
|
{
|
|
return iSoft_UpRecordDAL.DeleteModel(model);
|
}
|
|
/// <summary>
|
/// 根据编号获得信息
|
/// </summary>
|
/// <param name="Keyid">编号</param>
|
/// <returns></returns>
|
public Soft_UpRecord GetModelByKeyid(int? Keyid)
|
{
|
return iSoft_UpRecordDAL.GetModelByKeyid(Keyid);
|
}
|
|
/// <summary>
|
/// 分页查询
|
/// </summary>
|
/// <param name="pagination"></param>
|
/// <returns></returns>
|
public IEnumerable<Model.Soft_UpRecord> 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);
|
}
|
}
|
}
|