Reputation: 1108
I am using Microsoft Visual Studio Enterprise 2019 Version 16.5.5
and SQL Server 2016
on Windows 10.
When I want to Update Model from Database
then I get the following error message:
My EDMX connection string is as follows:
metadata=res://*/Model.FruitShopEntities.csdl|res://*/Model.FruitShopEntities.ssdl|res://*/Model.FruitShopEntities.msl;provider=System.Data.SqlClient;provider connection string="data source=.\SQL2016;initial catalog=FruitShop;integrated security=False;User Id: sa; Password: 1;MultipleActiveResultSets=True;App=EntityFramework"
I have googled but couldn't find a solution.
Upvotes: 2
Views: 2633
Reputation: 73
This still exists in Microsoft Visual Studio Community 2022 (64-bit) - Version 17.11.2.
After a lot of updating packages and research, I was able to resolve it by:
You will be able to right click on the design surface and "Update Model from Database".
Upvotes: 1