Table of Contents

Class PatientMapContributor

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

Represents a contributor that participates in the mapping configuration of the Patient entity by implementing the IEntityMapContributor interface.

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

Methods

RegisterMaps()

Registers BSON class maps for the domain model types (Patient, Person, PatientLocation, and related entities) to configure their MongoDB serialization, including auto-mapping, null-value handling, enum string serialization, dictionary serialization, and ID member mapping. Skips registration for types that already have a registered class map.

public void RegisterMaps()