Table of Contents

Class CompositeIndexDefinition<T>

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

Composite Index fluent definition.

public class CompositeIndexDefinition<T>

Type Parameters

T
Inheritance
CompositeIndexDefinition<T>
Inherited Members
Extension Methods

Methods

Attach()

Applies the current definition to the parent.

public T Attach()

Returns

T

An instance of the parent.

See Also

Path(string)

Add a path to the current CompositePath definition.

public CompositeIndexDefinition<T> Path(string path)

Parameters

path string

Property path for the current definition. Example: /property

Returns

CompositeIndexDefinition<T>

An instance of CompositeIndexDefinition<T>.

See Also

Path(string, CompositePathSortOrder)

Add a path to the current CompositePath definition with a particular CompositePathSortOrder.

public CompositeIndexDefinition<T> Path(string path, CompositePathSortOrder sortOrder)

Parameters

path string

Property path for the current definition. Example: /property

sortOrder CompositePathSortOrder

CompositePathSortOrder to apply on the path.

Returns

CompositeIndexDefinition<T>

An instance of CompositeIndexDefinition<T>.

See Also

See Also