Class UniqueKey
- Assembly
- Microsoft.Azure.Management.CosmosDB.Fluent.dll
The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.
public class UniqueKey
- Inheritance
-
UniqueKey
- Inherited Members
Constructors
UniqueKey()
Initializes a new instance of the UniqueKey class.
public UniqueKey()
UniqueKey(IList<string>)
Initializes a new instance of the UniqueKey class.
public UniqueKey(IList<string> paths = null)
Parameters
Properties
Paths
Gets or sets list of paths must be unique for each document in the Azure Cosmos DB service
public IList<string> Paths { get; set; }