我正在尝试这种代码优先的方法,但我现在发现System.Decimal类型的属性被映射到decimal(18,0)类型的sql列.
如何设置数据库列的精度?
.net c# entity-framework decimal ef-code-first
.net ×1
c# ×1
decimal ×1
ef-code-first ×1
entity-framework ×1