Last post Jul 13, 2011 04:07 AM by Fitmation
Jul 06, 2011 04:41 AMemail@example.com|LINK
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.
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
Jul 06, 2011 09:24 AM|whighfield|LINK
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/
Jul 13, 2011 04:07 AM|Fitmation|LINK
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.