klyn.data.EntityManagerFactory.EntityManagerFactory
constructor

    public EntityManagerFactory(
    configuration as ProviderConfiguration,
    mappings as MappingRegistry = MappingRegistry.empty
    ):

Description

Creates a factory over immutable provider and mapping configuration.

Parameters

Parameter | Description
--- | ---
`configuration` | Provider configuration.
`mappings` | Validated mapping registry.

Example

    factory = EntityManagerFactory(configuration, mappings)