Releases: PawelGerr/Thinktecture.EntityFrameworkCore
Releases · PawelGerr/Thinktecture.EntityFrameworkCore
4.0.0
Features:
- Added "collection parameters" as a light-weight alternative to temp tables. This feature allows to use a collection of scalar values or complex objects as a SQL parameter (SQL Server only)
- The "update" part is skipped in
BulkInsertOrUpdateAsyncifPropertiesToUpdatereturns explicitly 0 properties. (allows update-if-not-exists) - Schema changing components support temporal tables
- Added an extension method that changes the default
ValueComparerso the comparison is done via reference equality. Useful forbyte[]. - Split the base classes for integration testing in 2 so the
DbContextsare accessible without inheriting from a base class.
Changes:
BulkInsertValuesIntoTempTableAsyncwith 1 column is returning just the values instead of entities.- Temp tables are not supported in queries with QuerySplittingBehavior
SplitQuery - Temp tables are now "named entities" to prevent clashes with real entities and the "collection parameters". Changed the configuration-methods.
- Temp tables for primitive types (Guid, Int32, etc) are pre-configured automatically now.
- Removed obsolete
NewGuidTempTableNameProvider - Moved factory methods from
EntityPropertiesProviderstoIEntityPropertiesProviderfor better IntelliSense support.EntityPropertiesProvidersis now obsolete. - Caching of
ILoggerFactoryduring testing is not required anymore.
Bugfixes and performance optimizations.