1234567891011121314151617181920212223242526272829 |
- 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 LearningformRateDAL
- {
- public LearningformRateRepository LearningformRateRepository { get; set; }
- public IQueryable<LearningformRateView> GetLearningformRateViewQueryable(Expression<Func<TP_LearningformRate, bool>> exp)
- {
- var query = from a in LearningformRateRepository.GetList(exp)
- select new LearningformRateView
- {
- LearningformRateID = a.LearningformRateID,
- LearningformID = a.LearningformID,
- EducationID = a.EducationID,
- Rate = a.Rate
- };
- return query;
- }
- }
- }
|