Table of Contents

FindAllAsync Method

Definition

Namespace
Savvyio.Domain
Assemblies
Savvyio.Core.dll
Source
src/Savvyio.Core/Domain/ISearchableRepository.cs

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

predicate Expression<Func<TEntity, bool>>

The predicate that matches the entities to retrieve.

setup Action<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.