Table of Contents

Class AppointmentMapContributor

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

Represents a contributor that provides entity mapping configuration for the PatientAppointment type as part of the mapping framework.

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

Methods

RegisterMaps()

Registers BSON class maps for the PatientAppointment, PatientAppointmentResourceGroup, and Allergies types, customizing the MongoDB serialization for their members. Registration is performed only if a class map for the type has not already been registered, making the call safe to invoke multiple times. Optional members are configured to be ignored when null, enum members are serialized as nullable string enums, and certain computed/action members are unmapped or assigned default collection values.

public void RegisterMaps()