Table of Contents

Class MongoConventionSetBuilder

Namespace
MongoDB.EntityFrameworkCore.Metadata.Conventions
Assembly
MongoDB.EntityFrameworkCore.dll

Creates the ConventionSet for the MongoDB provider.

public class MongoConventionSetBuilder : ProviderConventionSetBuilder, IProviderConventionSetBuilder
Inheritance
MongoConventionSetBuilder
Implements
Inherited Members

Constructors

MongoConventionSetBuilder(ProviderConventionSetBuilderDependencies)

Creates a MongoConventionSetBuilder with the required dependencies.

Methods

Build()

Call this method to build a ConventionSet for the MongoDB provider when using the ModelBuilder outside of OnModelCreating(ModelBuilder).

CreateConventionSet()

Builds and returns the convention set for the MongoDB provider.

CreateModelBuilder()

Call this method to build a ModelBuilder for MongoDB outside of OnModelCreating(ModelBuilder).

CreateModelBuilder<T>()

Call this method to build a ModelBuilder for MongoDB outside of OnModelCreating(ModelBuilder).