Haneesh H
Haneesh H

Reputation: 141

Can I access mysql or oracle in EF 7 I heard EF is only way to access DB

Can I access mysql or oracle in asp.net-vnext? I heard EF is only way to access DB.Any Nuget package available for mysql,oracle etc..

Upvotes: 2

Views: 2033

Answers (1)

Yasir
Yasir

Reputation: 1625

While EF7 is under development and anything I say is subject to change, I can tell you this much from the official description on EF 7 Github page

EF7 is a lightweight and extensible version of Entity Framework that enables new platforms and new data stores. Starting with EF7, Windows Phone, Windows Store, ASP.NET 5, and traditional desktop application can all now take advantage of Entity Framework. In addition to relational databases, EF7 also supports non-relational data stores such as Azure Table Storage and Redis.

The idea here is to make it more extensible and not more limiting. More likely than not, it should support what it supports currently.

Also, EF is the way that Microsoft is recommending nowadays. It certainly isn't the only way. In order for it to be the only way Microsoft might have to modify the accessibility of the ADO.NET classes that are part of the .NET framework. And that's definitely not happening.

Upvotes: 1

Related Questions