They are completely different animals. The DAAB is a data access library (wrappers around ADO.NET), whereas the Entity Framework is an Object Relatonal Mapper. They don't do the same thing. If you want to use a data access library, Microsoft would recomend
the Entity Framework. If you want to use an ORM. they would recomment EF.
They don't do the same thing. If you want to use a data access library, Microsoft would recomend the
Entity Framework. If you want to use an ORM. they would recomment
EF.
In above sentense
They don't do the same thing. If you want to use a data access library, Microsoft would recomend the
Enterprise Library Data access block. If you want to use an ORM. they would recomment
Entity Framework.
They don't do the same thing. If you want to use a data access library, Microsoft would recomend the
Enterprise Library Data access block. If you want to use an ORM. they would recomment
Entity Framework.
You would not use EF and the Enterprise library together.
The Entity Framework creates its connections and manages that for you. Connection pooling is managed by the underlying ADO.NET data provider, which in the case of SQL Server is SqlClient. The Entity Framework will use SqlClient if you are connecting to a
SQL Server database.
Contributor
2350 Points
1014 Posts
Enterprise Library VS Entity Framework which is industry standard?
Jan 30, 2011 11:44 PM|duttavr|LINK
I'm new to EF and EL data block.
both are data accessors. but which one is used by the industry currently. What is the reason If any specific?
EL is itself comes under best practices then why EF?
Could any one please provide me the information.
Thanks, Dutt
All-Star
194032 Points
28035 Posts
Moderator
Re: Enterprise Library VS Entity Framework which is industry standard?
Jan 31, 2011 01:31 AM|Mikesdotnetting|LINK
They are completely different animals. The DAAB is a data access library (wrappers around ADO.NET), whereas the Entity Framework is an Object Relatonal Mapper. They don't do the same thing. If you want to use a data access library, Microsoft would recomend the Entity Framework. If you want to use an ORM. they would recomment EF.
Contributor
2350 Points
1014 Posts
Re: Enterprise Library VS Entity Framework which is industry standard?
Jan 31, 2011 03:12 AM|duttavr|LINK
Thanks Mike I'm clear now. However...
They don't do the same thing. If you want to use a data access library, Microsoft would recomend the Entity Framework. If you want to use an ORM. they would recomment EF.
In above sentense
They don't do the same thing. If you want to use a data access library, Microsoft would recomend the Enterprise Library Data access block. If you want to use an ORM. they would recomment Entity Framework.
Please correct me If I'm wrong.
All-Star
194032 Points
28035 Posts
Moderator
Re: Enterprise Library VS Entity Framework which is industry standard?
Jan 31, 2011 04:25 AM|Mikesdotnetting|LINK
Sorry - my mistake. You are correct.
Contributor
2350 Points
1014 Posts
Re: Enterprise Library VS Entity Framework which is industry standard?
Jan 31, 2011 04:36 AM|duttavr|LINK
Thanks Mark. Your answer helped me.
Contributor
2350 Points
1014 Posts
Re: Enterprise Library VS Entity Framework which is industry standard?
Jan 31, 2011 04:54 AM|duttavr|LINK
Hi Mark,
another query on same topic.
Can we use Entity Framework on top of Enerprise Library Data block.
I mean EF for ORM programing
and
EL DB Block for creating connections and for pooling logic?
is this a practice or just my assumption?
All-Star
194032 Points
28035 Posts
Moderator
Re: Enterprise Library VS Entity Framework which is industry standard?
Jan 31, 2011 05:06 AM|Mikesdotnetting|LINK
You would not use EF and the Enterprise library together.
The Entity Framework creates its connections and manages that for you. Connection pooling is managed by the underlying ADO.NET data provider, which in the case of SQL Server is SqlClient. The Entity Framework will use SqlClient if you are connecting to a SQL Server database.
Contributor
2350 Points
1014 Posts
Re: Enterprise Library VS Entity Framework which is industry standard?
Jan 31, 2011 05:08 AM|duttavr|LINK
Thanks Mark for the answer. It's clear now.