EF Model update from SQL Server CE database

  • Thread starter Thread starter Mimosa Arts
  • Start date Start date
M

Mimosa Arts

Guest
I've got an app that uses EF for crud and I recently added three tables to the database. I wanted to be able to select data in these tables so I went to the existing EDMX screen and rightclicked on white space in the diagram and selected "Update Model from Database" and got an error dialog saying:

System.ArguementException 'Unable to convert runtime connection string to its design-time equivalent. The libraries required to enable Visual Studio to communicate with the database for design purposes(DDEX provider) are not installed for provider 'System.Data.SqlServerCE.4.0'. Connection string: Data Source=C:\Database\database\MachineLearning.sdf'.

I'm using VS2019 since this original edmx created. Could it be something I need for VS2019 and I had in VS2017??

TIA

Harry

Continue reading...
 
Back
Top