locked
Microsfot Enterprise Library VS Entity Frame work RRS feed

  • Question

  • User1435703709 posted

    I am new to EL= Enterprise Library and EF= Entity Framework, I want guidence, wheather to use EL or EF.

    EL = Enterprise library gives me the flexibility that I can change the underlying data base server (like for example from SQL Server to Oracle) without effecting the code.

    BUT

    EF releives me from the pain of creating and linking the bussiness entities.

    I wonder what shoud I do?

    Can I use a mix of both of these, For Example to create all the bussiness entities using EF and then use EL for the data base Inserts, Updates and Delete.

    If someone recommends me to user Microsoft Enterprise Library, Is there any ORM available that just mappes my data base tables to bussines entities (C# classes) and also maintain there relationship

    Wednesday, July 6, 2011 4:41 AM

Answers

All replies

  • User1052258516 posted

    nHibernate would give you the best of both worlds http://nhforge.org/Default.aspx however nHibernate is not for the weak of heart it can be quite confusing to configure.

    Screen casts on nHibernate http://www.summerofnhibernate.com/

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, July 6, 2011 9:24 AM
  • User1215150307 posted

    enterprise library give you clear code.

    entity framework may have configure and update problem with database which may not be easy for debug.

    entity framework is for replacing nhibernate position.

    Wednesday, July 13, 2011 4:07 AM