ConnectorStateRepository Class

ORM for ConnectorStateDto items

Definition

Namespace: MobileTrack.DataContainers.Repositories
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
internal sealed class ConnectorStateRepository : ItemBaseRepository<ConnectorStateDto>
Inheritance
Object    ItemBaseRepositoryConnectorStateDto    ConnectorStateRepository

Constructors

ConnectorStateRepository Base constructor

Methods

GetConnectorStateByEndpointId Gets the connector state associated with the specified endpoint.
GetConnectorStateById Get a single item by its ID
GetConnectorStates Get items from a container based on a lambda query

Extension Methods

CountAsyncConnectorStateDto 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)
CountAsyncConnectorStateDto Counts the amount of items in a repository's Container filtered by the query and the (optional) partitionKey.
(Defined by CosmosExtensions)
GetItemFromCosmosByIdConnectorStateDto Retrieves a single item from the database by its ID.
(Defined by CosmosExtensions)
LoadEntireStackConnectorStateDto Reads an entire stack of an Azure Cosmos Container, only filtered by the partitionKey if it isn't left empty.
(Defined by CosmosExtensions)
RetrieveGlobalAutoCompleteConnectorStateDto 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)
RetrieveItemsForAutoCompleteConnectorStateDto 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)

See Also