PostgreSQL everywhere

How to store a complex object as JSON in a PostgreSQL database using Entity Framework (Npgsql)?

Okay, that’s a title and a half. But let’s see – what are we actually doing and why? In my particular case, I had to store a Dictionary<string, string> in a Postgres database. By default, that’s not something Entity Framework handles. But as usual, there’s a way around that –…Continue reading How to store a complex object as JSON in a PostgreSQL database using Entity Framework (Npgsql)?