Ejemplo n.º 1
0
 /// <summary>
 /// Applies filtering to <typeparamref name="TEntity"/> specified with criteria.
 /// Criteria will be getted from <paramref name="context"/>
 /// </summary>
 /// <param name="context">Context of <paramref name="expressions"/></param>
 /// <param name="expressions">Expression that selects filtering criteria</param>
 /// <returns><typeparamref name="TEntity"/> filtered with specified criteria.</returns>
 public IEnumerable <TEntity> By <TContext>(TContext context, params Expression <Func <TContext, object> >[] expressions)
 {
     return(_getter.By(context, expressions).Perform(SetupLazyContext));
 }