Table of Contents

Class ObservationMapContributor

Namespace
adas_core.Infrastructure.Utils.MongoMaps
Assembly
adas-core.Infrastructure.dll

Represents a contributor that provides entity mapping logic for observations.

public class ObservationMapContributor : IEntityMapContributor
Inheritance
ObservationMapContributor
Implements
Inherited Members
Extension Methods

Remarks

Implements the IEntityMapContributor interface to participate in the entity mapping process.

Methods

RegisterMaps()

Registers BSON class maps for the observation-related domain types used by the application. Each registration is guarded by an IsClassMapRegistered(Type) check so the method is safe to invoke multiple times, configuring element names, ignoring null members, unmapping non-persisted members, and supplying custom enum and complex-object serializers where required.

public void RegisterMaps()