dotnet / efcore

EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
https://docs.microsoft.com/ef/
MIT License
13.78k stars 3.19k forks source link

Add support for persisting key properties on JSON-mapped entity types #28594

Open AndriySvyryd opened 2 years ago

AndriySvyryd commented 2 years ago

And make the ordinal property more flexible (e.g. different position in the key or no ordinal at all (the client side collection would need to be a List to preserve the order))

maumar commented 1 year ago

sending for retriage since our plans for json + value types

roji commented 6 months ago

Some notes on this based on our recent design discussion in Redmond:

Advantages

Issues

@AndriySvyryd @ajcvickers let me know if I've missed something.