I had no end of issues with using public decimal Price { get; set; } and getting errors and no database in the scaffolding. Once I changed it to public Decimal Price { get; set; } * Decimal vs decimal The issue went away. With decimal it did not appear to know the accuracy and precision either in .net 7 or .net 7 with sql server 15.02000.5 and VS CE 2022 64b 17.4.1
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
ID: 6719f08e-3bd7-dc1a-71df-f2ef9fbca9d8
Version Independent ID: 7096fdb3-612e-9e00-bd0b-8ea4886a09ce
I had no end of issues with using public decimal Price { get; set; } and getting errors and no database in the scaffolding. Once I changed it to public Decimal Price { get; set; } * Decimal vs decimal The issue went away. With decimal it did not appear to know the accuracy and precision either in .net 7 or .net 7 with sql server 15.02000.5 and VS CE 2022 64b 17.4.1
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.