1234567891011121314151617181920212223 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using EMISOnline.Entities;
- using EMISOnline.DataLogic.Repositories;
- using System.Linq.Expressions;
- namespace EMISOnline.DataLogic.Educational
- {
- public class ScoreRuleDAL
- {
- public ScoreRuleRepository ScoreRuleRepository { get; set; }
- public IQueryable<ER_ScoreRule> GetScoreRuleList(Expression<Func<ER_ScoreRule, bool>> exp)
- {
- var query = from sr in ScoreRuleRepository.Entities.Where(exp)
- select sr;
- return query;
- }
- }
- }
|