npgsql JSON Mapping - multiple different objects in JSONB column with EF Core

Viewed 172

I have a table in postgres containing a JSONB column. This column contains a JSON object serialized from various C# types. This table also contains a column to select the C# type. My entity model defines the JSON object as a string. How to automatically deserialize into differing C# types?

BR Jochen

0 Answers
Related