使用的 SQL Server 版本不支持数据类型“datetime2”解决办法
时间:2022-03-14 12:47
使用的 SQL Server 版本不支持数据类型“datetime2” 解决办法
Open your EDMX in a file editor (or “open with…” in Visual Studio and select XML Editor). At the top you will find the storage model and it has an attribute ProviderManifestToken. This has should have the value 2008. Change that to 2005, recompile and everything works.
就是打开你的edmx文件,搜索ProviderManifestToken值,改为2005就ok~~~~~~~~~
转载自:http://blog.csdn.net/soulzx/article/details/6756723
使用的 SQL Server 版本不支持数据类型“datetime2”解决办法,布布扣,bubuko.com