Class MasterListMapContributor
- Namespace
- adas_core.Infrastructure.Utils.MongoMaps
- Assembly
- adas-core.Infrastructure.dll
Represents a map contributor for the master list entity, providing mapping logic through the IEntityMapContributor contract.
public class MasterListMapContributor : IEntityMapContributor
- Inheritance
-
MasterListMapContributor
- Implements
- Inherited Members
- Extension Methods
Remarks
Use this contributor when defining or extending the mapping configuration associated with master list entities.
Methods
RegisterMaps()
Registers BSON class maps for domain types (such as Element, OptionList, MasterList, Locale, and their derived option lists) to control their MongoDB serialization. Each registration is performed only when no class map already exists for the type, and applies domain-specific settings including default values, null-ignore rules, discriminator naming, and custom serializers for enums, locale fields, and identifiers.
public void RegisterMaps()