Class PoCMapContributor
- Namespace
- adas_core.Infrastructure.Utils.MongoMaps
- Assembly
- adas-core.Infrastructure.dll
Provides a proof-of-concept implementation of the IEntityMapContributor interface for contributing entity mapping logic.
public class PoCMapContributor : IEntityMapContributor
- Inheritance
-
PoCMapContributor
- Implements
- Inherited Members
- Extension Methods
Remarks
This class serves as a demonstrative or experimental implementation of entity map contribution behavior, intended to validate the contract defined by IEntityMapContributor.
Methods
RegisterMaps()
Registers BSON class maps for PointOfCare-related types (PointOfCare, PointOfCareConfiguration, PoCMapping, PoCMappingItem, and PoCSettings) with the MongoDB driver, configuring serialization options such as element names, default values, null handling, and enum string serialization. Each registration is performed only if a class map for the type has not already been registered.
public void RegisterMaps()