This walkthrough works great with SQL Express:
http://msdn.microsoft.com/en-us/library/gg197522(v=VS.103).aspx
I would like it to work with MySQL. I did some research, but none of the methods I found could do this for me. Ideally, I would like to do something like this:
<entityFramework>
<defaultConnectionFactory type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data" />
</entityFramework>
This does not work (I have MySQL Connector Net 6.5.4 installed and a link to MySql.Data). I tried to get an IDbConnection factory, as shown in this class here:
http://www.vworker.com/RentACoder/misc/BidRequests/ShowBidRequest.asp?lngBidRequestId=1563829
and then using:
<entityFramework>
<defaultConnectionFactory type="SchoolModel.MySqlConnectionFactory, SchoolModel" />
but it doesn’t work either. Can someone please give me some guidance on how to make this work?
.