Creating a site from scratch using MVC, which ORM is better, EF or NHibernate?

I want to create a website with many users and, obviously, with a large number of databases, and I have no experience with either EF or NHibernate, what should I recommend?

+5
source share
5 answers

EF is very well integrated with .NET and Visual Studio. Gives you a very good designer in Visual Studio and uses LINQ to write queries that are very easy to read.

It’s not easy for me. I would go with EF4 without any problems.

+4
source

, EF, .... , , .

, NHibernate.

+1

, . - Microsoft, EF - .

Oracle , EF ( ), NHibernate Oracle , .

+1

NHibernate, , EF, .

asp.net mvc S # arp. NHibernate. - , .

0

.

EF , , , .

- , API, .

, "" ORM, Dapper Massive.

EF , ( ), "" , MVC.

, - . EF, L2SQL, . , , .

, , NHibernate, , Entity Framework.

- . "" - SQL, , SQL Server ( Oracle) , .

LINQ - IMO ( , , ), LINQ-Entities SQL, ( ).

EF4 Pet Peeves:

  • "" . , Post Location *..*, Question , Location Question. Posts, . , .

  • POCO . , Post, Location, Location, Post, MVC. , EF modified, POCO, . POCO, ICollection<TPOCO>, . Save Entity OSM. , .

  • . , NHibernate . EF, . , EF.

  • .. , , . , EF - 1. , .

0

All Articles