Table of Contents

Class MongoDBBuilder

Namespace
Cratis.Applications.MongoDB
Assembly
Cratis.Applications.MongoDB.dll

Represents an implementation of IMongoDBBuilder.

public class MongoDBBuilder : IMongoDBBuilder
Inheritance
MongoDBBuilder
Implements
Inherited Members
Extension Methods

Constructors

MongoDBBuilder()

Initializes a new instance of the MongoDBBuilder class.

public MongoDBBuilder()

Properties

ClassMaps

Gets the class maps to register.

public IList<Type> ClassMaps { get; }

Property Value

IList<Type>

ConventionPackFilters

Gets the convention pack filters to register.

public IList<Type> ConventionPackFilters { get; }

Property Value

IList<Type>

DatabaseNameResolverType

Gets or sets the database name resolver type.

public Type DatabaseNameResolverType { get; set; }

Property Value

Type

ModelNameConventionInstance

Gets or sets the IModelNameConvention instance.

public IModelNameConvention? ModelNameConventionInstance { get; set; }

Property Value

IModelNameConvention

ModelNameConventionType

Gets or sets the IModelNameConvention type.

public Type? ModelNameConventionType { get; set; }

Property Value

Type

ServerResolverType

Gets or sets the URL resolver type.

public Type ServerResolverType { get; set; }

Property Value

Type

Methods

Validate()

Validate the builder.

public void Validate()