简体   繁体   中英

Is Entity Framework tied to SQL Server?

如果我想连接到Oracle,MySQL甚至MS Access,该怎么办?

No. It uses the ADO.Net "provider" model to plug in a database provider to give access to any third party database.

A list of available third party EF providers is here .

And here's an example of a prototype Oracle provider with source code.

One of the problem with the Entity Framework, is that Microsoft does not provide “providers” for 3rd party databases it's self. At present I don't think Oracle provides a “provider” for the Entity Framework, so if you wish to use the Entry Framework with Oracle you have to buy in a “provider”.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM