Table of Contents

Class UniqueKeyDefinition

Namespace
Microsoft.Azure.Cosmos.Fluent
Assembly
Microsoft.Azure.Cosmos.Client.dll

UniqueKeyPolicy fluent definition.

public class UniqueKeyDefinition
Inheritance
UniqueKeyDefinition
Inherited Members
Extension Methods

Methods

Attach()

Applies the current definition to the parent.

public ContainerBuilder Attach()

Returns

ContainerBuilder

An instance of the parent.

Path(string)

Adds a path to the current UniqueKeyDefinition.

public UniqueKeyDefinition Path(string path)

Parameters

path string

Path for the property to add to the current UniqueKeyDefinition. Example: /property

Returns

UniqueKeyDefinition

An instance of the current UniqueKeyDefinition.