开发者

Any better way to use Oracle/MySQL with .NET Entity Framework?

I wonder the simplicity of working with Microsoft SQL database server with .NET Entity Framework. Is there a possible开发者_运维知识库 way to use it with Oracle & MySQL database servers?


You could use another ORM, like NHibernate which supports Microsoft SQL, Oracle, and MySQL, among many others.

If you want/need to stick with EF, there are already questions on SO about using it with MySQL and with Oracle.


Oracle Data Access Components for .NET (http://www.oracle.com/technetwork/topics/dotnet/downloads/oracleefbeta-302521.html) includes also Oracle Data Provider for .NET 4 11.2.0.2.40.

A nice tutorial how to use Model-First approach can be found at http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/dotnet/EntityFrameworkOBE/EntityFrameworkOBE.htm.

Good luck,

LM


A list of Oracle providers for Entity Framework can be found here:
Comparison of Entity Framework compatible providers for Oracle?

And for MySQL these are available:
http://www.mysql.com/products/connector/
http://www.devart.com/dotconnect/entityframework.html
http://uda.openlinksw.com/dotnet/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜