public find( entityType as Type, identityType as Type, providerName as String, mappingName as String = "" ) as MappingRegistration:
Finds a matching registration without erasing its stored generic object.
| Parameter | Description |
|---|---|
entityType | Entity type. |
identityType | Effective identity type. |
providerName | Provider family. |
mappingName | Explicit mapping name, or empty for the default. |
Matching registration, or null.
mapping = registry.find(type(User), type(Int), "sql")