MongoRepositoryManager(T, TKey).EnsureIndexes Method

MongoRepository

MongoRepositoryManagerT, TKeyEnsureIndexes Method
Overload List
  Name Description
Public method EnsureIndexes(IEnumerableString)
Ensures that the desired indexes exist and creates them if they don't exist.
Public method EnsureIndexes(IMongoIndexKeys, IMongoIndexOptions)
Ensures that the desired indexes exist and creates them if they don't exist.
Public method EnsureIndexes(IEnumerableString, Boolean, Boolean, Boolean)
Ensures that the desired indexes exist and creates them if they don't exist.
Top
See Also