Click or drag to resize
RepositoryE, KGetAllAsync Method
Gets all entities from database.

Namespace: LiteRepository
Assembly: LiteRepository (in LiteRepository.dll) Version: 2.0.4
Syntax
C#
public virtual Task<IEnumerable<E>> GetAllAsync()

Return Value

Type: TaskIEnumerableE
A task representing the asynchronous operation.
Examples

For getting all entities from database:

C#
var entities = await repository.GetAllAsync(entity);
See Also