Table of Contents

Class UnitMapContributor

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

Represents an entity mapping contributor that provides mapping configuration for units.

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

Remarks

Implements IEntityMapContributor to integrate unit-specific mapping logic into the entity mapping pipeline.

Methods

RegisterMaps()

Registers BSON class maps for the Unit and UnitConfiguration types used in MongoDB serialization. Each registration is performed only if no class map has been previously registered for the target type, and configures field-level mappings, default values, ignored properties, and custom serializers as required by the domain model.

public void RegisterMaps()