Click here to Skip to main content
11,496,146 members (354 online)
The site is currently in read-only mode for maintenance. Posting of new items will be available again shortly.
See more: C# ASP.NET .NET SQL-Server .NET4 , +
What are the advantages of using Entity Framwork?

Thanks.
Posted 14-Jan-13 1:34am
ExpertITM1.2K
Have a look at This[^] article.
  Permalink  
hi,

The entity framework can be a powerful tool which allows developers to model data specifically for their application. It also allows developers to easily bind the data to controls and manage relationships between tables. The framework can provide an additional layer of abstraction allowing developers more freedom in how the data is presented without spending a lot of time on storage and access.

Refer the following links

Advantage with the Entity Framework

what are the advantages of using entity framework instead of other data accessing technologies

Thanks
  Permalink  
shortly

+
faster and cheaper development

-
sometimes performance
sometimes hard to write complex queries


you can search generally for ORM adv and disadv for a more specified answer..
  Permalink  
Comments
ExpertITM at 14-Jan-13 6:41am
   
Hi,

but why it is faster and what are the concerns of performance?

Thanks.
katanakensei at 14-Jan-13 6:46am
   
it's faster because you don't need to create every single entity and logic to retreave / manage the data.
note you must create a db structure with the idea that you are going to use EF, it's a bit harder to make an existent db to work with EF in a second time.

about performances i figure out that the very first call to EF in a period (in my case a day) is sometime very slow (20sec). That apart the other calls are ok.
Here's a pretty good brief article outlining Entity Framework Pro's and Con's:

http://www.devproconnections.com/article/entity-framework/entity-framework-orms-142979[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 10,401
1 OriginalGriff 8,910
2 Sascha Lefèvre 3,899
3 Maciej Los 3,422
4 Richard Deeming 2,600


Advertise | Privacy | Mobile
Web02 | 2.8.150520.1 | Last Updated 14 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100