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
Im not quite sure but I am expecting the sql column name when calling IProperty.GetColumnName().
This behaviour never stats that but what else should the column name then be? Sorry if im wrong!
I noticed my code failing when I added an entity with a repeated complex type.
The prefix of the column names for the complex type properties is just missing.
I was expecting the same name as in the migration, or in the database.
Wasserwecken
changed the title
IProperty.GetColumnName() for complex types does not return the sql column name?
IProperty.GetColumnName() does not return the sql column name for complex types?
Jul 12, 2024
The final column name is calculated in a later stage (when the model is finalized). Unfortunately, with the current convention infrastructure it would be prohibitively slow to calculate this while the model is being built.
Im not quite sure but I am expecting the sql column name when calling
IProperty.GetColumnName()
.This behaviour never stats that but what else should the column name then be? Sorry if im wrong!
I noticed my code failing when I added an entity with a repeated complex type.
The prefix of the column names for the complex type properties is just missing.
I was expecting the same name as in the migration, or in the database.
Include your code
Include provider and version information
EF Core version: 8.0.7
Database provider: Microsoft.EntityFrameworkCore.SQLite
Target framework: .NET 8.0
The text was updated successfully, but these errors were encountered: