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 GetScoreRuleList(Expression> exp) { var query = from sr in ScoreRuleRepository.Entities.Where(exp) select sr; return query; } } }