12345678910111213141516171819202122232425262728 |
- 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 PracticeRateDAL
- {
- public PracticeRateRepository PracticeRateRepository { get; set; }
- public IQueryable<PracticeRateView> GetPracticeRateViewQueryable(Expression<Func<TP_PracticeRate, bool>> exp)
- {
- var query = from a in PracticeRateRepository.GetList(exp)
- select new PracticeRateView
- {
- PracticeRateID = a.PracticeRateID,
- CourseTypeID = a.CourseTypeID,
- Rate = a.Rate
- };
- return query;
- }
- }
- }
|