How to use the default Entity Framework and default date values

后端 未结 8 807
说谎
说谎 2020-12-15 23:53

In my SQL Server database schema I have a data table with a date field that contains a default value of

CONVERT(VARCHAR(10), GETDATE(), 111)
<
8条回答
  •  再見小時候
    2020-12-16 00:36

    I think the answer provided by lazyberezovsky on another SO question is the straight forward solution to this problem Entity Framework and Default Date

提交回复
热议问题