共用方式為


IWithIndex<ParentT> Interface

Definition

The stage of the mongo collection definition allowing to set indexes.

public interface IWithIndex<ParentT>
type IWithIndex<'ParentT> = interface
Public Interface IWithIndex(Of ParentT)

Type Parameters

ParentT

The stage of the parent definition to return to after attaching this definition.

Derived

Methods

WithIndex(MongoIndex)

Specifies a mongo index.

WithIndex(MongoIndexKeys, MongoIndexOptions)

Specifies a mongo index.

WithIndexes(IList<MongoIndex>)

Appends all mongo indexes to current indexes.

Applies to