C
C#2y ago
Stroniax

❔ EF Core Sql Server JsonDocument

I am trying to use Entity Framework Core to map and access a json column. With EF 7, I believe that is supported (via the the ToJson(OwnedNavigationBuilder, string) extension method). However, the value is not a consistent schema, so I cannot map a constant type. I want to use JsonDocument but am getting a number of errors, making me wonder if that is actually possible? The only documentation I can find referencing mapping a JsonDocument property is using npgsql, and I don't see any references to JsonDocument in the SQL Server EF core articles I am finding.
1 Reply
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.