public interface MappingRegistration:
Type-erased registration boundary for heterogeneous entity mappings.
Concrete mappings retain their generic entity and identity types. This interface exists only so one immutable mapping registry can contain mappings for several entity and provider families.
registration as MappingRegistration = customerSQLMapping print(registration.providerName)
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | defaultMappingdefaultMapping as Boolean |
Whether this mapping is the default for its entity/provider pair. |
| public readonly property | entityTypeentityType as Type |
Entity type represented by the mapping. |
| public readonly property | identityTypeidentityType as Type |
Exact effective entity identity type. |
| public readonly property | mappingHashmappingHash as String |
Stable fingerprint used by compiled-plan and persistent-index caches. |
| public readonly property | namename as String |
Logical mapping name, unique for one entity/provider pair. |
| public readonly property | providerNameproviderName as String |
Stable provider family name such as sql, memory, json, or xml. |