For various code samples for new features in EF Core 7. Many have been done simplifed as most code samples found on the web are a) incomlete b) too complex for the average developer to learn from.
- ExecuteDeleteAsync
- ExecuteUpdateAsync
ExecuteUpdate
andExecuteDelete
can only act on a single table.
- Json columns
- Two projects: Hybrid.Core and Json1App using OwnsOne and OwnsMany
- Mapping spatial types directly to JSON is not yet supported.
- Mapping of owned types to JSON is not yet supported in conjunction with TPT or TPC inheritance.
- Queries into JSON columns
- IMaterializationInterceptor
- OwnedEntities
Documentation for the above is found here at Microsoft.
There are several code samples taken from Microsoft and ported here as otherwise it would be difficult for a novice developer to get these code samples without cloning the entire EF Core GitHub repository.
- Microsoft Visual Studio version 17.4.0 or higher
- Microsoft SQL-Server setup for SQLEXPRESS
- What's New in EF Core 7.0
- Breaking changes in EF Core 7.0
- Microsoft code samples
- Arthur Vickers: Engineering Manager for .NET Data and Entity Framework at Microsoft