You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have class that can contain it self or other types that can contain that same class, is it possible to store this type as json in a column with ef core?
I have class that can contain it self or other types that can contain that same class, is it possible to store this type as json in a column with ef core?
Component references itself, so if we were to keep mapping it automatically it would go on forever.
Note to implementor: review naming logic for Product.Components.Components and invertedOwnership removal in InternalForeignKeyBuilder
Include your code
I have class that can contain it self or other types that can contain that same class, is it possible to store this type as json in a column with ef core?
I'd expect to have something like:
instead I have to configure each navigation manually, but
Sample:
Stored json:
retrieved data:
Include provider and version information
EF Core version: 8.0.2
Database provider: Npgsql.EntityFrameworkCore.PostgreSQL 8.0.2
Target framework: .NET 8.0
Operating system: 14.2.1 (23C71)
IDE: Rider 2024.1.1
The text was updated successfully, but these errors were encountered: