海洋工作室——网站建设专家:The version of SQL Server in use does not support datatype datetime2 and the Entity Framework.
1. January 2009 19:00
This is due to the edmx file being generated or updated from a SQL 2008 instance and run against a SQL 2005 instance. I tried about every trick I could think of before reading about it here. Basically all you need to do is to open the EDMX file with XML Editor and change ProviderManifestToken=”2008” to ProviderManifestToken=”2005”. Thanks a bunch Alex Duggleby for the hint!
1.<Schema 2. Namespace="MobileNordic.MobileCMS.Domain.Store"3. Alias="Self"4. Provider="System.Data.SqlClient"5. ProviderManifestToken="2005"7. xmlns

浙公网安备 33010602011771号