开发者

What alternatives are there for Entity Framework in ASP.NET MVC3

I want to develop ASP.NET MVC site but I am confused开发者_如何学C about the use of EF. While developing my database structure/tables will be changed frequently and also after going to the production if anything happened?

If EF not for ASP.NET MVC3 then I would use ....... ?


  • nHibernate
  • RavenDb

Don't bother with anything else, in my opinion.

nHibernate is a very mature and open source ORM that can use SQL Server to get data into/out of your ASP.NET MVC (and version) project(s). It is the most direct competitor to EF it terms of popular options in the ORM space.

If you like new and cutting edge technology, then give RavenDB a go. It is its own database and doesn't require an ORM. It just saves the class library objects straight to its own DB. Therefore, you don't have database schema migration issues, etc.

I would go for RavenDb IMO. I'm leaving EF because I'm just so sick of SQL Server and all the hoops and barriers to getting my domain models to work nicely with a traditional RDBMS. (And this is after working with SQL Server since '95) ...

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜