Home > DeveloperSection > Interviews > Difference between NHibernate and Entity framework.

Posted on    April-01-2013 3:11 AM

 ASP.NET MVC ASP.NET MVC 
Ratings:
 2 Answer(s)
  5762  View(s)
Rate this:

Carl Pieterson
Carl Pieterson

Total Post:1

Points:5
Posted on    April-01-2013 12:00 AM

NHibernate can:

    Send multiple updates/inserts/deletes at once
    Load multiple proxies of a type at once
    Load multiple collections of a type at once
    Execute object oriented DML statements
    Manually group queries in a single roundtrip (multiqueries, futures)

EntityFramework can:

    None of the above

sankar rao

Total Post:4

Points:20
Posted on    September-09-2014 12:00 AM

NHibernate supports Following 
1)Lazy Load
2) Model Mappings at class level and Xml file
3)Light weight Compare to Entity framework
4)Eager Load
5)Sessions

Entity FrameWork Supports Follwing
1)Used to work on Stored Proceders but not NHibernate
2)Easy to Implement 


Don't want to miss updates? Please click the below button!

Follow MindStick