No Type Was Specified for the Decimal Column

added by DotNetKicks
6/21/2019 3:23:20 PM

1 Kicks, 204 Views

When you create an entity for a database context in Entity Framework that has a decimal column, you may run into problems with truncation happening silently to you behind the scenes. With a default precision of 18 digits and 2 decimal places you may lose some data and the framework/runtime won't complain about it when you do.