Udostępnij za pośrednictwem


IWithShardKey Interface

Definition

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

public interface IWithShardKey
type IWithShardKey = interface
Public Interface IWithShardKey
Derived

Methods

WithoutShardKey(String)

Removes a shard key.

WithoutShardKeys()

Removes all shard keys.

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