Last post Aug 18, 2020 10:44 AM by rahulpas
Aug 14, 2020 11:42 AM|rahulpas|LINK
I am working with asp.net MVC with MySQL
first I create a table in MySQL-workbench and then I want to add that table in visual studio(2019) using ado.net entity model but the problem is not to add the table in the model folder
Create a table in MySQL-workbench
after adding the department table in a model folder using ado.net entity modal
after clicking the next button then not add the enitytable in the model folder
how to add the entity table in a modal folder using ado.net entity modal
Aug 14, 2020 03:23 PM|DA924|LINK
You have to right-click the Models folder in the Visual Stuido project and do an 'Add new Item'. The new item will be ADO.NET Entity Model that you will adding components
needed into the Models folder like the Dbcontext and any entity class or classes into the Models folder.
Aug 15, 2020 04:10 AM|rahulpas|LINK
I already try this right-click the Models folder in the Visual Studio project and do an 'Add New Item'. The new item will be ADO.NET Entity Model but I not see any entity classes and DB context in modal folder
Aug 15, 2020 05:50 PM|DA924|LINK
I am using VS2019 with MS SQL Server Express 2016, and I created the EF components using the wizard in the Models folder for an existing database with no trouble. You're using MySQL, I am not familiar with it and I can't tell why it's not doing
it for MySQL.
Aug 17, 2020 07:25 AM|YihuiSun|LINK
Aug 17, 2020 09:42 AM|rahulpas|LINK
thanks for the explanation currently I am facing this error:
what is that above error and also stop MySQL
what mistake did I make?
Aug 18, 2020 07:33 AM|YihuiSun|LINK
You need to find your VS installation directory and open
X:\XXXXXX\Microsoft Visual Studio\2019\Community\Common7\IDE\PrivateAssemblies, find the
MySql.Data.dll file, then right-click the
properties, and view "Details", You can see "Product version". If the
version is 8.0.18, the installed mysql server version can only be up to
8.0.18,which can be lower.
Note: You'd better first modify the version of mysql server,
delete the configuration about mysql in web.config, and
Here is the result.
Aug 18, 2020 10:44 AM|rahulpas|LINK
see my version of Microsoft
when I am trying to adding a class then showing below error message
which place I am doing wrong?