NHibernate Unable to convert MySQL date/time value to System.DateTime

后端 未结 1 822
旧时难觅i
旧时难觅i 2021-01-05 06:16

I am getting the \"Unable to convert MySQL date/time value to System.DateTime\" error because from what I can tell I have a record with 0000-00-00 00:00:00. Now while the d

1条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-05 07:08

    Add the Convert Zero Datetime=true;, it may help!

    0 讨论(0)
提交回复
热议问题