示例#1
0
 /// <inheritdoc cref="EntityFrameworkQueryableExtensions.AverageAsync(IQueryable{decimal?}, CancellationToken)"/>
 public static Task <decimal?> AverageAsyncEF(
     this IQueryable <decimal?> source,
     CancellationToken cancellationToken = default)
 => EntityFrameworkQueryableExtensions.AverageAsync(source, cancellationToken);
示例#2
0
 /// <inheritdoc cref="EntityFrameworkQueryableExtensions.AverageAsync(IQueryable{decimal?}, CancellationToken)"/>
 public Task <decimal?> AverageAsync(
     IQueryable <decimal?> source,
     CancellationToken token)
 => EntityFrameworkQueryableExtensions.AverageAsync(source, token);
示例#3
0
 /// <inheritdoc cref="EntityFrameworkQueryableExtensions.AverageAsync{TSource}(IQueryable{TSource}, Expression{Func{TSource, decimal?}}, CancellationToken)"/>
 public Task <decimal?> AverageAsync <TSource>(
     IQueryable <TSource> source,
     Expression <Func <TSource, decimal?> > selector,
     CancellationToken token)
 => EntityFrameworkQueryableExtensions.AverageAsync(source, selector, token);
 public Task <float?> AverageAsync <TSource>(IQueryable <TSource> source, Expression <Func <TSource, float?> > selector, CancellationToken cancellationToken = default)
 => EntityFrameworkQueryableExtensions.AverageAsync(source, selector, cancellationToken);
 public Task <decimal?> AverageAsync <TSource>(IQueryable <TSource> source, Expression <Func <TSource, decimal?> > selector)
 {
     return(EntityFrameworkQueryableExtensions.AverageAsync(source, selector));
 }
 public Task <float?> AverageAsync(IQueryable <float?> source, CancellationToken cancellationToken = default)
 => EntityFrameworkQueryableExtensions.AverageAsync(source, cancellationToken);
 /// <inheritdoc cref="EntityFrameworkQueryableExtensions.AverageAsync{TSource}(IQueryable{TSource}, Expression{Func{TSource, long}}, CancellationToken)"/>
 public Task <double> AverageAsync <TSource>(
     IQueryable <TSource> source,
     Expression <Func <TSource, long> > selector,
     CancellationToken cancellationToken)
 => EntityFrameworkQueryableExtensions.AverageAsync(source, selector, cancellationToken);
 /// <inheritdoc cref="EntityFrameworkQueryableExtensions.AverageAsync(IQueryable{double}, CancellationToken)"/>
 public Task <double> AverageAsync(
     IQueryable <double> source,
     CancellationToken cancellationToken)
 => EntityFrameworkQueryableExtensions.AverageAsync(source, cancellationToken);
示例#9
0
 public static Task <decimal> AverageAsyncEF <TSource>(
     this IQueryable <TSource> source,
     Expression <Func <TSource, decimal> > selector,
     CancellationToken token = default)
 => EntityFrameworkQueryableExtensions.AverageAsync(source, selector, token);
示例#10
0
 public static Task <float> AverageAsyncEF(
     this IQueryable <float> source,
     CancellationToken token = default)
 => EntityFrameworkQueryableExtensions.AverageAsync(source, token);