Entity Framework 4.3 Code First Cannot Create Datetime2?

蓝咒 提交于 2019-12-05 05:41:12

From the ADO.NET team blog:

Known Issues

[...]

  • Not all hard coded column data types are honored in generated databases. If you use the Column data annotation or HasColumnType Fluent API method to hard code a column data type (i.e. xml, money, etc.), this data type is not used when creating the database. We will be including a fix for this issue in the 4.3.1 patch release.

Update

The EF4.3.1 patch is now available. EF4.3.1 and EF5 Beta 1 Available on NuGet

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!