예제 #1
0
 /// <inheritdoc cref="EntityFrameworkQueryableExtensions.ForEachAsync{T}(IQueryable{T}, Action{T}, CancellationToken)"/>
 public static Task ForEachAsyncEF <TSource>(
     this IQueryable <TSource> source,
     Action <TSource> action,
     CancellationToken cancellationToken = default)
 => EntityFrameworkQueryableExtensions.ForEachAsync(source, action, cancellationToken);
 public Task ForEachAsync <T>(
     IQueryable <T> source,
     Action <T> action,
     CancellationToken cancellationToken = default) =>
 EntityFrameworkQueryableExtensions.ForEachAsync(source, action, cancellationToken);
예제 #3
0
 /// <inheritdoc cref="EntityFrameworkQueryableExtensions.ForEachAsync{T}(IQueryable{T}, Action{T}, CancellationToken)"/>
 public Task ForEachAsync <TSource>(
     IQueryable <TSource> source,
     Action <TSource> action,
     CancellationToken token)
 => EntityFrameworkQueryableExtensions.ForEachAsync(source, action, token);