Upgrading Volo.Abp.EntityFrameworkCore 0.19 to 0.20
Breaking0.19.0 → 0.20.1Breaking3New9Changed15Fixed12Other7
BreakingUpgrade verdict
3 breaking changes.
In plain terms
- Entities and value types no longer override equality, so they compare by reference instead of by value.
- The custom AutoMap attributes are gone, so mapping configuration must use another approach.
- The Id property on entities can no longer be assigned directly.
Must act 3 items need code or config changes
Target frameworks requirement changed in 0.20.0: .NETStandard2.0 → .NETStandard2.1.
What you must change
Breaking3
Removes overriding equals for entities and value types.
Removes ABP's AutoMap attributes.
AutoMapRemoves the setter for IEntity<TKey>.Id.
IEntity<TKey>.Id