Table of Contents

Interface IMongoDBBuilder

Namespace
Cratis.Arc.MongoDB
Assembly
Cratis.Arc.MongoDB.dll

Defines the builder for MongoDB.

public interface IMongoDBBuilder
Extension Methods

Properties

ClassMaps

Gets the class maps to register.

IList<Type> ClassMaps { get; }

Property Value

IList<Type>

ConventionPackFilters

Gets the convention pack filters to register.

IList<Type> ConventionPackFilters { get; }

Property Value

IList<Type>

ConventionPackProviders

Gets the convention pack providers, implementations of ICanProvideMongoDBConventionPacks.

IList<Type> ConventionPackProviders { get; }

Property Value

IList<Type>

DatabaseNameResolverType

Gets or sets the database name resolver type.

Type DatabaseNameResolverType { get; set; }

Property Value

Type

NamingPolicy

Gets or sets the INamingPolicy instance.

INamingPolicy? NamingPolicy { get; set; }

Property Value

INamingPolicy

ServerResolverType

Gets or sets the URL resolver type.

Type ServerResolverType { get; set; }

Property Value

Type

Methods

Validate()

Validate the builder.

void Validate()