FindAllAsync Method
Definition
- Assemblies
- Savvyio.Core.dll
FindAllAsync(Expression<Func<TEntity, bool>>, Action<AsyncOptions>)
Finds all entities matching the specified predicate asynchronous.
Task<IEnumerable<TEntity>> FindAllAsync(Expression<Func<TEntity, bool>> predicate = null, Action<AsyncOptions> setup = null)
Parameters
predicateExpression<Func<TEntity, bool>>The predicate that matches the entities to retrieve.
setupAction<AsyncOptions>The AsyncOptions which may be configured.
Returns
- Task<IEnumerable<TEntity>>
A Task<TResult> that represents the asynchronous operation. The task result either contains the matching entities of the operation or an empty sequence if no match was found.