12345678910111213141516171819202122232425262728293031323334353637 |
- 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; }
- /// <summary>
- /// 查询对应的异动报表信息View
- /// </summary>
- /// <param name="exp"></param>
- /// <returns></returns>
- public IQueryable<ChangeReportView> GetChangeReportViewQueryable(Expression<Func<CF_DifferentDynamicReport, bool>> 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;
- }
- }
- }
|