Search code examples
c#nhibernateentity-frameworkbatching

What is the difference between nhibernate and entity framework in batching?


I want to select one of the above orm. What is the difference between nhibernate and entity framework in batching?


Solution

  • 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)

    EF can:

    • None of the above