Exemple #1
0
 public static OutputPipe <IOrderedQueryable <TInput> > ThenByDescending <TInput, TKey>(
     this IOutputPipe <IOrderedQueryable <TInput> > pipe,
     Expression <Func <TInput, TKey> > keySelector)
     where TInput : class =>
 pipe.MapQueryable(q => q.ThenByDescending(keySelector));
Exemple #2
0
 public static OutputPipe <IOrderedQueryable <TInput> > OrderBy <TInput, TKey>(
     this IOutputPipe <IQueryable <TInput> > pipe, Expression <Func <TInput, TKey> > keySelector)
     where TInput : class =>
 pipe.MapQueryable(q => q.OrderBy(keySelector));
 public static OutputPipe <IIncludableQueryable <TInput, TProperty> > ThenInclude <TInput, TPreviousProperty, TProperty>(
     this IOutputPipe <IIncludableQueryable <TInput, TPreviousProperty> > pipe,
     Expression <Func <TPreviousProperty, TProperty> > navigationPropertyPath)
     where TInput : class =>
 pipe.MapQueryable(q => q.ThenInclude(navigationPropertyPath));
Exemple #4
0
 public static OutputPipe <IQueryable <TInput> > Where <TInput>(
     this IOutputPipe <IQueryable <TInput> > pipe, Expression <Func <TInput, bool> > predicate)
     where TInput : class =>
 pipe.MapQueryable(q => q.Where(predicate));
 public static OutputPipe <IQueryable <TInput> > AsNoTracking <TInput>(
     this IOutputPipe <IQueryable <TInput> > pipe, Expression <Func <TInput, bool> > predicate)
     where TInput : class =>
 pipe.MapQueryable(q => q.AsNoTracking());