using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Linq.Expressions; using EMIS.Entities; using EMIS.ViewModel; using EMIS.ViewModel.StudentManage.StudentChange; using EMIS.DataLogic.Repositories; namespace EMIS.DataLogic.StudentManage.StudentChange { public class ChangeReportDAL { public DifferentDynamicReportRepository ChangeReportRepository { get; set; } /// /// 查询对应的异动报表信息View /// /// /// public IQueryable GetChangeReportViewQueryable(Expression> exp) { var query = from chrp in ChangeReportRepository.GetList(exp) select new ChangeReportView { ChangeReportID = chrp.ChangeReportID, Code = chrp.Code, Name = chrp.Name, Url = chrp.Url }; return query; } } }