Here's a summary of what's new in Entity Framework Core in this preview release:
Entity Framework Core 10 updates:
In previous versions of EF Core, evolving the model when using Azure Cosmos DB was quite painful. Specifically, when adding a new required property to the entity, EF would no longer be able to materialize that entity. The reason was that EF expected a value for the new property (since it was required), but the document created before the change didn't contain those values. The workaround was to mark the property as optional first, manually add default values for the property, and only then change it to required.
In EF 10 Preview 3 we improved this experience - EF will now materialize a default value for a required property, if no data is present for it in the document, rather than throw.
- Redact inlined constants from log when sensitive logging is off (#35724).
- Improve LoadExtension to work correctly with dotnet run and lib* named libs (#35617, contributed by @krwq).
Preview 3 contains: