Monodevelop Entity Structure Integration

I have the latest git mono and monodevelop which support entity structure. I can add the link to my project, but it seems that monodevelop is not generating an edmx file from the database.

Do you know if this function exists or if there is a solution for creating an ORM mapping from a database.

I tried the menu item [Tool-> Database-> Generate Linq class]

I select a communication database and test it successfully. But when I roll, I get an exception: MonoDevelop.Database.Sql.SqlMetalExecException: sqlmetal: Failed to load databaseConnectionType type 'ByteFX.Data.MySqlClient.MySqlConnection, ByteFX.Data'. Try using the option --with-dbconnection = TYPE.

I do not understand this advice in the exception ...

+4
source share
1 answer

I went through this when I decided to move to Linux ( Mono on Linux ) from windows ( VS ). After enough research, I finally found out that Monodevelop does not support the Entity Framework. And therefore, I use a very old traditional way of accessing database objects, creating manual classes of objects, and then calling them when opening and closing connections when accessing each object.

0
source

Source: https://habr.com/ru/post/1441095/


All Articles