Delen via


IWithShardKey<ParentT> Interface

Definition

The stage of the mongo collection definition allowing to set shard keys.

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

Type Parameters

ParentT

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

Derived

Methods

WithShardKey(String, String)

Specifies a shard key.

WithShardKey(String)

Specifies a shard key with default partition kind "Hash".

WithShardKeys(IDictionary<String,String>)

Appends all shard keys to current shard keys.

Applies to