Update RepositoryAsyncExtensions.cs

pull/9332/head
maliming 4 years ago committed by GitHub
parent 5363e1376c
commit ae12e73d8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -34,6 +34,7 @@ namespace Volo.Abp.Domain.Repositories
var queryable = await repository.GetQueryableAsync();
return await repository.AsyncExecuter.AnyAsync(queryable, cancellationToken);
}
public static async Task<bool> AnyAsync<T>(
[NotNull] this IReadOnlyRepository<T> repository,
[NotNull] Expression<Func<T, bool>> predicate,

Loading…
Cancel
Save