Table of Contents

Method CreateMissingVectorIndexes

Namespace
MongoDB.EntityFrameworkCore
Assembly
MongoDB.EntityFrameworkCore.dll

CreateMissingVectorIndexes(DatabaseFacade)

Creates missing Atlas vector indexes in the MongoDB database for all IIndex definitions in the EF Core model for which there is not already an index in the database.

public static void CreateMissingVectorIndexes(this DatabaseFacade databaseFacade)

Parameters

databaseFacade DatabaseFacade

The DatabaseFacade from the EF Core DbContext.