Entity framework just ignores unsigned decimal column when doing db-first to generate code, since I can't change the data type of the db column to signed, any solution?
相关问题
- sqlyog export query result as csv
- Entity Framework Code First Migration
- NOT DISTINCT query in mySQL
- MySQL: conduct a basic search
- Entity Framework throws exception - Network Relate
Do you need to "enforce" non-negative values? Use a
TRIGGER
.Or, if the values are whole numbers, then use some suitably sized
INT UNSIGNED
in place ofDECIMAL
.