UseRidAsPk

Set this property to false to switch using the id column as primary key instead the default _rid.

Data Type

bool

Default Value

true

Remarks

Since CosmosDB allows you to use both _rid and id fields as unique values for retrieving resource data, you can set this property to false to switch using the id column as primary key instead the default _rid.