Using MySQL with Entity Framework

2018-12-31 08:12发布

Can't find anything relevant about Entity Framework/MySQL on Google so I'm hoping someone knows about it.

11条回答
查无此人
2楼-- · 2018-12-31 09:08

I didn't see the link here, but there's a beta .NET Connector for MySql. Click "Development Releases" to download 6.3.2 beta, which has EF4/VS2010 integration:

http://dev.mysql.com/downloads/connector/net/5.0.html#downloads

查看更多
妖精总统
3楼-- · 2018-12-31 09:09

You would need a mapping provider for MySQL. That is an extra thing the Entity Framework needs to make the magic happen. This blog talks about other mapping providers besides the one Microsoft is supplying. I haven't found any mentionings of MySQL.

查看更多
ら面具成の殇う
4楼-- · 2018-12-31 09:09

This MySQL tutorial shows how to generate and use EF entities as a datasource for a control.

查看更多
无与为乐者.
5楼-- · 2018-12-31 09:10
萌妹纸的霸气范
6楼-- · 2018-12-31 09:10

This isn't about MS and what they want. They have created an *open system for others to plug-in 'providers' - postgres and sqlite have it - mysql is just laggin... but, good news for those interested, i too was looking for this and found that the MySql Connector/Net 6.0 will have it... you can check it out here:

http://www.upfromthesky.com/blog/post/2009/03/24/MySql-Supports-the-Entity-Framework.aspx

查看更多
登录 后发表回答