internal sealed class EventCodeRepository : ItemBaseRepository<EventCodeDto>| EventCodeRepository | Initializes a new instance of the EventCodeRepository class |
| GetEventCodeByCodeAsync | Retrieves an EventCodeDto by code, using Redis cache to reduce Cosmos DB traffic. |
| GetEventCodeByLabelAsync | Retrieves an EventCodeDto by label, using Redis cache to reduce Cosmos DB traffic. |
| RetrieveCache | Reloads the EventCode cache. |
| CountAsyncEventCodeDto |
Counts the amount of items in a repository. A partitionKey can be added as a filter. If you want
to add a query, use the overload of this method containing the parameter to add a QueryDefinition (Defined by CosmosExtensions) |
| CountAsyncEventCodeDto |
Counts the amount of items in a repository's Container filtered by
the query and the (optional) partitionKey.
(Defined by CosmosExtensions) |
| GetItemFromCosmosByIdEventCodeDto |
Retrieves a single item from the database by its ID.
(Defined by CosmosExtensions) |
| LoadEntireStackEventCodeDto |
Reads an entire stack of an Azure Cosmos Container, only filtered by the partitionKey if it isn't left empty.
(Defined by CosmosExtensions) |
| RetrieveGlobalAutoCompleteEventCodeDto |
This method is used for the search bar on top of the screen in the Portal;
it retrieves 3 items for that datatype where the query contains a part of the Label.
(not case-sensitive). The items are also filtered by the user's environment scope if the user doesn't have the permission to view all environments.
(Defined by CosmosExtensions) |
| RetrieveItemsForAutoCompleteEventCodeDto |
This method is used for the search bar on top of the screen in the Portal;
it retrieves 3 items for that datatype where the query contains a part of the Label.
(not case-sensitive). The items are also filtered by the user's environment scope if the user doesn't have the permission to view all environments.
(Defined by CosmosExtensions) |