This repository was archived by the owner on Aug 18, 2021. It is now read-only.
This repository was archived by the owner on Aug 18, 2021. It is now read-only.
CosmosDB class does not override LightRepository's GetAsync<T>() method #214
Open
Description
LightRepository
has two virtual methods for retrieving a collection of entities. They are GetAsync<T>(Expression<Func<T, bool>> predicate)
, and GetAsync<T>()
(I assume y'all know their difference given their signatures). CosmosDB
only overrides the former.
So, if we want to retrieve every entity from a collection, we must do something like this:
Repository.GetAsync(x => true);