Generic converter bounding in EF Core
Is there an way to "easily" define converters for all properties which uses an generic type? Currently, I have something like this:
and an ugly static method that gets all properties from entities, map eachs one and applies the converter using reflection and activator.
and an ugly static method that gets all properties from entities, map eachs one and applies the converter using reflection and activator.