Beispiel #1
0
 public Task <float?> SumAsync <T>(IQueryable <T> source, Expression <Func <T, float?> > predicate, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Extensions.SumAsync(source, predicate, cancellationToken));
 }
Beispiel #2
0
 public Task <T> SingleOrDefaultAsync <T>(IQueryable <T> source, Expression <Func <T, bool> > predicate, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Extensions.SingleOrDefaultAsync(source, predicate, cancellationToken));
 }
Beispiel #3
0
 public Task <float?> SumAsync(IQueryable <float?> source, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Extensions.SumAsync(source, cancellationToken));
 }
Beispiel #4
0
 public Task <T> MinAsync <T, R>(IQueryable <T> source, Expression <Func <T, R> > predicate, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Extensions.MinAsync(source, cancellationToken));
 }
Beispiel #5
0
 public Task <T> SingleOrDefaultAsync <T>(IQueryable <T> source, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Extensions.SingleOrDefaultAsync(source, cancellationToken));
 }
Beispiel #6
0
 public Task <Dictionary <K, E> > ToDictionaryAsync <T, K, E>(IQueryable <T> source, Func <T, K> keySelector, Func <T, E> elementSelector, IEqualityComparer <K> comparer, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Extensions.ToDictionaryAsync(source, keySelector, elementSelector, comparer, cancellationToken));
 }
Beispiel #7
0
 public IQueryable <TEntity> AsTracking <TEntity>(IQueryable <TEntity> source) where TEntity : class
 {
     return(Extensions.AsTracking(source));
 }
Beispiel #8
0
 public Task <TSource> LastAsync <TSource>(IQueryable <TSource> source, Expression <Func <TSource, bool> > predicate, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Extensions.LastAsync(source, predicate, cancellationToken));
 }
Beispiel #9
0
 public void Load <TSource>(IQueryable <TSource> source)
 {
     Extensions.Load(source);
 }
Beispiel #10
0
 public Task <bool> ContainsAsync <T>(IQueryable <T> source, T item, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Extensions.ContainsAsync(source, item, cancellationToken));
 }
Beispiel #11
0
 public Task ForEachAsync <TSource>(IQueryable <TSource> source, Action <TSource> action, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Extensions.ForEachAsync(source, action, cancellationToken));
 }
Beispiel #12
0
 public Task <float> AverageAsync <TSource>(IQueryable <TSource> source, Expression <Func <TSource, float> > predicate, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Extensions.AverageAsync(source, predicate, cancellationToken));
 }
Beispiel #13
0
 public Task <decimal?> AverageAsync <T>(IQueryable <T> source, Expression <Func <T, decimal?> > predicate, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Extensions.AverageAsync(source, predicate, cancellationToken));
 }
Beispiel #14
0
 public Task <decimal?> AverageAsync(IQueryable <decimal?> source, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Extensions.AverageAsync(source, cancellationToken));
 }
Beispiel #15
0
 public Task <T[]> ToArrayAsync <T>(IQueryable <T> source, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Extensions.ToArrayAsync <T>(source, cancellationToken));
 }
Beispiel #16
0
 public Task LoadAsync <TSource>(IQueryable <TSource> source, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Extensions.LoadAsync(source, cancellationToken));
 }
Beispiel #17
0
 public Task <Dictionary <K, T> > ToDictionaryAsync <T, K>(IQueryable <T> source, Func <T, K> keySelector, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Extensions.ToDictionaryAsync(source, keySelector, cancellationToken));
 }
Beispiel #18
0
 public Task <long> LongCountAsync <T>(IQueryable <T> source, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Extensions.LongCountAsync(source, cancellationToken));
 }
Beispiel #19
0
 public Task <List <TSource> > ToListAsync <TSource>(IQueryable <TSource> source, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Extensions.ToListAsync(source, cancellationToken));
 }
Beispiel #20
0
 public Task <bool> AnyAsync <T>(IQueryable <T> source, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(Extensions.AnyAsync <T>(source, cancellationToken));
 }