You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 19, 2023. It is now read-only.
I have a type B that inherits from type A, and a Property P defined in A.
When I try to map that property in type B, an exception is thrown at the DommelColumnNameResolver, that the key is not present in the entity maps dictionary.
I suggest that instead of using the DeclaringType for the lookup, use the ReflectedType.
Maybe this issue exists in other places too, I haven't checked.
The text was updated successfully, but these errors were encountered:
That is indeed a known issue. However, ReflectedType is not available in .NET Standard 1.3 (which Dapper.FluentMap and Dommel) targets. A future version might target .NET Standerd 2.0 which allows us to use RefelectedType again.
Hi,
I have a type B that inherits from type A, and a Property P defined in A.
When I try to map that property in type B, an exception is thrown at the DommelColumnNameResolver, that the key is not present in the entity maps dictionary.
I suggest that instead of using the DeclaringType for the lookup, use the ReflectedType.
Maybe this issue exists in other places too, I haven't checked.
The text was updated successfully, but these errors were encountered: