✅ EF Json column - object reference not set to an instance of an object
Hey, I am trying to get JSON columns work with EF.
When creating my initial migration I am met with:
Object reference not set to an instance of an object
Migration only fails when I include Adress part of Store.
Any ideas what could be the issue?8 Replies
MySQL doesn't support JSON columns to begin with
Unless EF encodes the data into a string I can't see it working
Huh, must be a new addition
I stand corrected
it's still memesql tho
Arthur Vickers
.NET Blog
Announcing Entity Framework Core 7 RC2: JSON Columns - .NET Blog
Announcing Entity Framework Core 7 (EF7) RC2 featuring JSON column mapping.
JSON Columns in Entity Framework Core
EF Core 7.0 contains provider-agnostic support for JSON columns, with an implementation for SQL Server. This support allows the mapping of aggregates built from .NET types to JSON documents.
From my understanding the thing I am doing is possible?
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.