Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ADO.NET Entity Data Model forcecloses after "Choose Your Data Connection"

So I am trying to create my ADO Entity data model, and i cant seem to get past the "choose your data connection" page. I choose the correct connection, then click either no or yes for sensitive data, and i click next. However, nothing appears. There is no error message like the common "your project references the latest version of entity framework however an entity framework database provider." It just closes the prompt and returns me to my project.

Has anyone ever seen this before?

like image 698
cjl5108 Avatar asked Oct 07 '14 14:10

cjl5108


People also ask

How does ADO.NET connect to database?

Establish Connection to DatabaseBrowse your database file and click the OK button. After connecting to the new database file create an object of OleDBConnection class in case of a database like Oracle or MS-Access and create an object of SqlConnection class in case of MS-SQL database.

How do I add ado net entity data model in Visual Studio?

Create the ADO.NET Entity Data ModelRight-click on your project in the Solution Explorer window and select the menu option Add -> New Item. In the Add New Item dialog, select the Data category. Select the ADO.NET Entity Data Model template, give the Entity Data Model the name Northwind. edmx, and click the Add button.

What is ado net entity data model?

ADO.NET Entity Framework uses an XML based Data Definition Language called Schema Definition Language (SDL) to define the EDM Schema.


1 Answers

If you have such a problem, make sure that the version of the NuGet MySQL EF package matches the version of the MySQL Connector for NET

like image 50
Сергей Мельник Avatar answered Sep 20 '22 16:09

Сергей Мельник