Generic converter bounding in EF Core - C#