Page 1 of 1

Choosing MySql as a data source

Posted: Sun 10 Oct 2010 16:56
by voswouter87
I have a simple Forms app that connects to a MySql database and shows data. It uses ADO.NET for connecting to the database and I want to change that to using Entity Framework.

But when creating a connection to the database I cannot change the data source to MySql because it's not in the list.

I'm following this tutorial http://www.devart.com/dotconnect/mysql/ ... al_ef.html but I cannot complete step 4. As explained before.

I fulfilled all the requirements in the tutorial, but the MySql data source option just is not there!

Installments:
- dotConnector
- MySql 6.3.4
- MySql.Data and MySql.Data.Entity added to references.
- System.Data.Entity added to references.
- The current version is already running queries on the database, so the connection and server are fine.

Posted: Mon 11 Oct 2010 09:04
by Shalex
The MySql.Data.dll and MySql.Data.Entity.dll assemblies, the 6.3.4 version - this is a description of some other provider, not dotConnect for MySQL.

Please install dotConnect for MySQL (you can download the trial version here). Be aware that the Entity Framework support is available only in the Professional and Developer editions (editions matrix).

If the problem persists, please tell us the version of your dotConnect for MySQL (the Tools > MySQL > About menu of Visual Studio) and the version of your Visual Studio. Also try using Entity Developer (the Devart Entity Model template in the Add New Item menu).