0
Bernard created
Hi,
When starting migration, I have this warning what does it mean, what should I change ?
No store type was specified for the decimal property 'TotalTVA' on entity type 'Facture'. This will cause values to be silently truncated if they do not fit in the default precision and scale. Explicitly specify the SQL server column type that can accommodate all the values in 'OnModelCreating' using 'HasColumnType', specify precision and scale using 'HasPrecision', or configure a value converter using 'HasConversion'.
Thks
1 Answer(s)
-
0
Hi @Bernard
If you wish, you can define it as explained here https://learn.microsoft.com/en-us/ef/core/modeling/entity-properties?tabs=data-annotations%2Cwithout-nrt#precision-and-scale