CodeFirst时怎么设置数据库列的默认值或绑定 #1072
Unanswered
topstop3416
asked this question in
Q&A
Replies: 1 comment
-
数据库的默认值不支持 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
[Column(IsNullable = false, InsertValueSql = "''")]
InsertValueSql 是通过FreeSql插入才有效 怎么设置数据库本身的默认值 不通过FreeSql插入也有效呢
Beta Was this translation helpful? Give feedback.
All reactions