IRepositoryManager(T, TKey).IndexesExists Method

MongoRepository

IRepositoryManagerT, TKeyIndexesExists Method
Tests whether indexes exist.

Namespace: MongoRepository
Assembly: MongoRepository.Net45 (in MongoRepository.Net45.dll) Version: 1.6.11.0 (1.6.11.0)
Syntax
bool IndexesExists(
	IEnumerable<string> keynames
)
Function IndexesExists ( 
	keynames As IEnumerable(Of String)
) As Boolean
bool IndexesExists(
	IEnumerable<String^>^ keynames
)
abstract IndexesExists : 
        keynames : IEnumerable<string> -> bool 

Parameters

keynames
Type: System.Collections.GenericIEnumerableString
The indexed fields.

Return Value

Type: Boolean
Returns true when the indexes exist, false otherwise.
See Also