Table of Contents

Interface IBsonClassMapFor<T>

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

Defines a map for mapping a type to bson for MongoDB.

public interface IBsonClassMapFor<T>

Type Parameters

T

Type the class map is for.

Methods

Configure(BsonClassMap<T>)

Configure the given class map.

void Configure(BsonClassMap<T> classMap)

Parameters

classMap BsonClassMap<T>

MongoDB.Bson.Serialization.BsonClassMap<TClass> to register.