IPartitionResolver.ResolveForCreate
Method
Definition
Given a partition key, this returns the collection self-link for creating a document in the Azure DocumentDB database service.
public string ResolveForCreate (object partitionKey);
Parameters
- partitionKey
- Object
The partition key used to determine the target collection for create operations.
Returns
A self-link for the collection to create documents in for the specified partition key.
Remarks
The return value must be a valid collection self-link string in the format dbs/db_rid/colls/col_rid.