ItemBaseRepositoryTGeneratePartitionKey Method

Generates a partition key for this container

Definition

Namespace: MobileTrack.DataContainers.Repositories
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
protected abstract PartitionKey GeneratePartitionKey(
	T item
)

Parameters

item  T
Item whose properties will be used to generate the partition key. For example, the CompanyId of the item can be used to only use the partition of a particular company.

Return Value

PartitionKey
Partition key to use for update/delete statements

See Also