-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SqlLite does not support ToJson()? #31094
Comments
JSON columns support isn't available for SQLite in EF Core 7 - this has been implemented for the upcoming 8.0 (docs). You can try the latest 8.0 preview to see the feature at work. |
dupe of #28816 |
Thanks for this update. I will check it out. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
using
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="7.0.7" /> <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="7.0.5">
usage - Class Library Unit Testing
This issue tracker is for -
I am attempting to run SQLLite In Memory db for my unit testing and following the following supported documentation here: https://github.com/dotnet/EntityFramework.Docs/blob/main/samples/core/Testing/TestingWithoutTheDatabase/SqliteInMemoryBloggingControllerTest.cs
Unfortunately every time it attempts to add objects of any complexity, I am getting a crash at this point with the following message:
In RelationalModel.cs (line 469) I am getting a NRE on the following column within one of my DBSets.
I can only assume this has something to do with my OnModelCreating setup code:
Implementation ## - following almost verbatim of the provided sqlLite example
The text was updated successfully, but these errors were encountered: