MongoRepositoryManager(T, TKey).EnsureIndexes Method
From MongoRepository
MongoRepository documentation
| MongoRepositoryManagerT, TKeyEnsureIndexes Method |
| Name | Description | |
|---|---|---|
|
|
EnsureIndexes(IEnumerableString) |
Ensures that the desired indexes exist and creates them if they don't exist.
|
|
|
EnsureIndexes(IMongoIndexKeys, IMongoIndexOptions) |
Ensures that the desired indexes exist and creates them if they don't exist.
|
|
|
EnsureIndexes(IEnumerableString, Boolean, Boolean, Boolean) |
Ensures that the desired indexes exist and creates them if they don't exist.
|