Ejemplo n.º 1
0
 public override IEnumerable <TAggregateRoot> FindAll(Expression <Func <TAggregateRoot, dynamic> > sortPredicate
                                                      , System.Data.SqlClient.SortOrder sortOrder
                                                      , params System.Linq.Expressions.Expression <Func <TAggregateRoot, dynamic> >[] includeLoadingProperties)
 {
     return(FindAll(new AnySpecification <TAggregateRoot>(), sortPredicate, sortOrder, includeLoadingProperties));
 }
Ejemplo n.º 2
0
 public virtual IQueryable <TEntity> Find <TSortKey>(Expression <Func <TEntity, TSortKey> > sortPredicate
                                                     , System.Data.SqlClient.SortOrder sortOrder
                                                     , params Expression <Func <TEntity, dynamic> >[] includeLoadingProperties)
 {
     return(Find(new AnySpecification <TEntity>().SatisfiedBy(), sortPredicate, sortOrder, includeLoadingProperties));
 }