HashPartitionResolver.ResolveForCreate
Method
Definition
Given a partition key, returns the collection self-link for creating a document in the Azure DocumentDB database service.
public virtual string ResolveForCreate (object partitionKey);
Parameters
- partitionKey
- Object
The partition key used to determine the target collection for creates.
Returns
The target collection link that will be used for document creation.
Exceptions
Thrown if the specified partitionKey is null.