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