dotConnect for MySQL (8.3) Problem .Net 4 and Entity Framework 5

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
nastradamus
Posts: 5
Joined: Wed 14 May 2014 14:11

dotConnect for MySQL (8.3) Problem .Net 4 and Entity Framework 5

Post by nastradamus » Wed 14 May 2014 14:31

Hi Devart Team,

we have discovered the dotConnect for MySQL yesterday as a good alternative to the native MySQL Connector and the Entity framework for MySQL. Thus, we have decided to test it in order to see how we can integrated it in our software products. We have downloaded the professionel version of the dotConnect for MySQL (8.3), but we have faced a problem with it, namely the Libraries (Devart.Data.MySql.Entity and Devart.Data.MySql.Entity.migrations) for the Entity Framework 5 are only for .Net 4.5 compiled. We are still using the .Net 4 in combination with the Entity Framework 5.

Can you please provide us a test version with both Libraries for the Entity Framework 5, but for .Net 4 or just fix the problem?

Thank you in advance,

(Please delete my old post here >> http://forums.devart.com/viewtopic.php?f=23&t=29571)

MariiaI
Devart Team
Posts: 1472
Joined: Mon 13 Feb 2012 08:17

Re: dotConnect for MySQL (8.3) Problem .Net 4 and Entity Framework 5

Post by MariiaI » Thu 15 May 2014 12:00

but we have faced a problem with it, namely the Libraries (Devart.Data.MySql.Entity and Devart.Data.MySql.Entity.migrations) for the Entity Framework 5 are only for .Net 4.5 compiled. We are still using the .Net 4 in combination with the Entity Framework 5.
This is the designed behaviour. A similar question has been discussed here.
The EF5-specific functionality (enum support, spatial data types, etc) is available only in .NET Framework v4.5. When working with .NET Framework v4.0, you should employ EntityFramework.dll v4.4 (not 5.0) and assemblies from the \Program Files (x86)\Devart\dotConnect\MySQL\Entity\EF4\ folder.

Please also refer to http://blogs.msdn.com/b/adonet/archive/ ... eased.aspx
If there is no need in the special features, that are available only for .NET 4.5, you can use EF5 in .NET 4 application with the assemblies from the \Program Files (x86)\Devart\dotConnect\MySQL\Entity\EF5\ folder.

Post Reply