using System; using System.Collections.Generic; using System.Linq; using System.Text; using EMIS.DataLogic.Repositories; using EMIS.ViewModel.PaymentManage; using System.Linq.Expressions; using EMIS.Entities; namespace EMIS.DataLogic.PaymentManage { public class StudentCountRateDAL { public StudentCountRateRepository StudentCountRateRepository { get; set; } public IQueryable GetStudentCountRateViewQueryable(Expression> exp) { var query = from a in StudentCountRateRepository.GetList(exp) select new StudentCountRateView { StudentCountRateID = a.StudentCountRateID, TitleID = a.Title, BaseStudentCount = a.BaseStudentCount, Limit = a.Limit }; return query; } } }