Table of Contents

Class MongoDBBuilder

Namespace
Cratis.Arc.MongoDB
Assembly
Cratis.Arc.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>

ConventionPackProviders

Gets the convention pack providers, implementations of ICanProvideMongoDBConventionPacks.

public IList<Type> ConventionPackProviders { get; }

Property Value

IList<Type>

DatabaseNameResolverType

Gets or sets the database name resolver type.

public Type DatabaseNameResolverType { get; set; }

Property Value

Type

NamingPolicy

Gets or sets the INamingPolicy instance.

public INamingPolicy? NamingPolicy { get; set; }

Property Value

INamingPolicy

ServerResolverType

Gets or sets the URL resolver type.

public Type ServerResolverType { get; set; }

Property Value

Type

Methods

Validate()

Validate the builder.

public void Validate()