Example #1
0
 public IQueryable <Log> FindList(Domain.SpecificationFramework.ISpecification <Log> spec)
 {
     return(Session.Query <Log>().Where(spec.SpecExpression));
 }
Example #2
0
 public Log FindBy(Domain.SpecificationFramework.ISpecification <Log> spec)
 {
     return(Session.Query <Log>().Where(spec.SpecExpression).FirstOrDefault());
 }
 public PostExtraPayment FindBy(Domain.SpecificationFramework.ISpecification <PostExtraPayment> spec)
 {
     return(Session.Query <PostExtraPayment>().Where(spec.SpecExpression).FirstOrDefault());
 }
 public IQueryable <PostExtraPayment> FindList(Domain.SpecificationFramework.ISpecification <PostExtraPayment> spec)
 {
     return(Session.Query <PostExtraPayment>().Where(spec.SpecExpression));
 }
 public Employee FindBy(Domain.SpecificationFramework.ISpecification <Employee> spec)
 {
     return(Session.Query <Employee>().Where(spec.SpecExpression).FirstOrDefault());
 }