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 PaymentStandardDAL
- {
- public PaymentStandardRepository PaymentStandardRepository { get; set; }
- public IQueryable<PaymentStandardView> GetPaymentStandardViewQueryable(Expression<Func<TP_PaymentStandard, bool>> exp)
- {
- var query = from a in PaymentStandardRepository.GetList(exp)
- select new PaymentStandardView
- {
- PaymentStandardID = a.PaymentStandardID,
- TitleID = a.Title,
- TeacherType = a.TeacherType,
- Amount = a.Amount
- };
- return query;
- }
- }
- }
|