using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using EMIS.DataLogic.Repositories;
using EMIS.ViewModel;
using EMIS.ViewModel.ChargeManage.ChargeSituation;
using EMIS.Entities;
namespace EMIS.DataLogic.ChargeManage.ChargeSituation
{
public class ChargeProjectDAL
{
public ChargeProjectRepository chargeProjectRepository { get; set; }
///
/// 查询对应的收费项目信息
///
///
///
public IQueryable GetChargeProjectViewQueryAble(Expression> exp)
{
var query = from pr in chargeProjectRepository.GetList(exp)
select new ChargeProjectView
{
ChargeProjectID = pr.ChargeProjectID,
ChrageProjectName = pr.Name,
Remark = pr.Remark
};
return query;
}
}
}