My application crashes with the following error whenever I save to the DB.
Unable to find an entry point named \'SetClrFeatureSwitchMap\' in DLL \'Sql
So, If I add the following line of code to the start-up of the application it will use the SQL 2014 version of the Microsoft.SqlServer.Types assembly which doesn't seem to have the problem stated above.
System.Data.Entity.SqlServer.SqlProviderServices.SqlServerTypesAssemblyName = "Microsoft.SqlServer.Types, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91";
This is fine for machines that have SQL Server 2014 SDK installed.
I have also submitted a bug with Microsoft here:
https://connect.microsoft.com/SQLServer/Feedback/Details/2139143