Entity Framework cannot update database

c# entity-framework

Accepted Answer

ZZZ_tmp
73
12/23/2015 8:11:52 AM

Popular Answer

Therefore, if I add the following line of code to the application's startup, it will use the Microsoft.SqlServer.Types assembly for SQL 2014, which doesn't appear to have the issue mentioned above.

System.Data.Entity.SqlServer.SqlProviderServices.SqlServerTypesAssemblyName = "Microsoft.SqlServer.Types, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91";

For computers with the SQL Server 2014 SDK installed, this is acceptable.

I also reported this bug to Microsoft here:

https://connect.microsoft.com/SQLServer/Feedback/Details/2139143



Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow