olivier dufour
olivier dufour

Reputation: 332

monodevelop entity framework integration

I have the last git of mono & monodevelop which support entity framework. I can add the reference in my project but it seems that monodevelop do not generate edmx file from database.

Do you know if this feature exist or is there is a solution to generate ORM mapping from database.

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

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

I do not understand this advice in exception...

Upvotes: 4

Views: 1790

Answers (1)

pallavi
pallavi

Reputation: 23

I have been through this, when I decided to move to Linux(Mono on Linux) from windows (VS). After enough research, I have come to finally know that Monodevelop doesn't support Entity Framework. And hence, I am using the very old traditional way to access database objects by creating objects' manual classes and then calling them with opening and closing connections while accessing each object.

Upvotes: 0

Related Questions