Other Data Base

Apr 30, 2015 at 2:56 AM

May someone know how i configure My Sql with Generic Unit of Work & (Extensible) Repositories Framework?

I already setup the dll's in my projects and change the web.config, but it don't work yet.
  • C:\Program Files (x86)\MySQL\MySQL Connector Net 6.8.3\Assemblies\v4.5\MySql.Data.dll
  • C:\Program Files (x86)\MySQL\MySQL Connector Net 6.8.3\Assemblies\v4.5\MySql.Data.Entity.EF6.dll
  • C:\Program Files (x86)\MySQL\MySQL Connector Net 6.8.3\Assemblies\v4.5\MySql.Web.dll
<entityFramework codeConfigurationType="MySql.Data.Entity.MySqlEFConfiguration, MySql.Data.Entity.EF6">
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
      <provider invariantName="MySql.Data.MySqlClient" type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity.EF6" /> 
May 12, 2015 at 5:38 PM
Hi AlanBessa,

There shouldn't be any difference using MySql, please make sure you have EF working with MySql then integrate the framework. You may want to have a look at how DI & IoC is configured.

Marked as answer by lelong37 on 5/12/2015 at 9:38 AM