You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build started...
Build succeeded.
System.InvalidOperationException: 'Contacto.Id' and 'Direccion.ContactoId' are both mapped to column 'Id' in 'Contacto' but are configured with different value generation strategies.
borisgr04
changed the title
Migrate Ef Core 3.1 to Ef Core 5.0 - but are configured with different value generation strategies
Ef Core 5 Owned en Entity with HiLo Error
Apr 17, 2021
borisgr04
changed the title
Ef Core 5 Owned en Entity with HiLo Error
Ef Core 5 Owned on Entity with HiLo Error
Apr 17, 2021
Ef Core 5 Owned en Entity with HiLo it
Build started...
Build succeeded.
System.InvalidOperationException: 'Contacto.Id' and 'Direccion.ContactoId' are both mapped to column 'Id' in 'Contacto' but are configured with different value generation strategies.
In Ef Core 3 It works correctly.
Code
EF Core version: 5
Database provider: (e.g. Microsoft.EntityFrameworkCore.SqlServer)
Target framework: (e.g. .NET 5.0)
Operating system: Windows
IDE: (e.g. Visual Studio 2019 16.3)
The text was updated successfully, but these errors were encountered: