CosmosExtensions Class
Namespace: MobileTrack.DataContainers.ExtensionsAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public static class CosmosExtensions
- Inheritance
- Object CosmosExtensions
| CountAsyncT(ItemBaseRepositoryT, NullablePartitionKey, CancellationToken) |
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 |
| CountAsyncT(ItemBaseRepositoryT, QueryDefinition, NullablePartitionKey, CancellationToken) |
Counts the amount of items in a repository's Container filtered by
the query and the (optional) partitionKey.
|
| DetermineLocationT |
Determine the location where an object is placed, based on itself, its ancestor environments,
and otherwise the center of the Netherlands.
|
| GetItemFromCosmosByIdT |
Retrieves a single item from the database by its ID.
|
| GetRelevantGeofencesT |
Retrieves all geofences that are relevant to the item, including those from its parent environment and ancestors if includingParentItems is set.
|
| LoadEntireStackT |
Reads an entire stack of an Azure Cosmos Container, only filtered by the partitionKey if it isn't left empty.
|
| ReadDataFromFeedT |
Executes the feed iterator and returns the results.
|
| ReadSingleDataItemFromFeedT |
Retrieves a single item from the feed (useful for 'Get single item' methods)
|
| RetrieveGlobalAutoCompleteT |
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.
|
| RetrieveItemsForAutoCompleteT |
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.
|