klyn.data.MappingRegistry.MappingRegistry
constructor

    public MappingRegistry(registrations as IList<MappingRegistration> = []):

Description

Copies and validates mapping registrations.

Parameters

Parameter | Description
--- | ---
`registrations` | Mappings to register.

Throws

- EntityMappingException for duplicate names or defaults.

Example

    registry = MappingRegistry([userSQLMapping])