public static Task <bool> AllAsyncLinqToDB <TSource>( this IQueryable <TSource> source, Expression <Func <TSource, bool> > predicate, CancellationToken token = default) => AsyncExtensions.AllAsync(source.ToLinqToDB(), predicate, token);
/// <summary> /// Determines whether all the elements of a sequence satisfy a condition /// </summary> /// <typeparam name="TSource">The type of the elements of source</typeparam> /// <param name="source">A sequence whose elements to test for a condition</param> /// <param name="predicate">A function to test each element for a condition</param> /// <returns> /// true if every element of the source sequence passes the test in the specified /// predicate, or if the sequence is empty; otherwise, false /// </returns> public static Task <bool> AllAsync <TSource>(this IQueryable <TSource> source, Expression <Func <TSource, bool> > predicate) { return(AsyncExtensions.AllAsync(source, predicate)); }