Method Combine
Combine(params IndexKeysDefinition<TDocument>[])
Creates a combined index keys definition.
public IndexKeysDefinition<TDocument> Combine(params IndexKeysDefinition<TDocument>[] keys)
Parameters
keys
IndexKeysDefinition<TDocument>[]The keys.
Returns
- IndexKeysDefinition<TDocument>
A combined index keys definition.
Combine(IEnumerable<IndexKeysDefinition<TDocument>>)
Creates a combined index keys definition.
public IndexKeysDefinition<TDocument> Combine(IEnumerable<IndexKeysDefinition<TDocument>> keys)
Parameters
keys
IEnumerable<IndexKeysDefinition<TDocument>>The keys.
Returns
- IndexKeysDefinition<TDocument>
A combined index keys definition.