Before Entity Framework
When there was no entity framework, developers used to work with ADO.NET. There were different versions of ADO.NET. Before Entity framework there were a few teams that were working in Microsoft Research. One team was working on an ORM for better data access.
First Experience with Entity Framework Team
Julie Lerman is the author of programming Entity framework. According to her:
So a team of small people was invited to a meeting by Microsoft Research. This meeting was conducted to show them the new ORM that they were working on. This ORM was built to make data access easier. It was 2006 then, and no one could imagine that it would become a huge success.
What people did before ORM existed
People wrote a lot more code for data access before any ORM existed. They had to write code for maintaining connection to database, and in order to maintain connection through code, one must have sound knowledge of database schema also. If you are calling a store procedure, you have to take care about what’s coming back (return type), what’s going into the procedure (parameters) etc. And further, one has to design domain classes inside the program, manually according to database schema.

Most importantly you’ve to take the data coming from the database and reshape it according to your model inside the application (domain classes), so normally before ORM, developers had to take the data from database and remap it according to the classes objects. It was a lot of work in fact.
And when it came to saving the data back to the database fromthe application it was also a lot of work before the existence of ORMs.
When it’s time to store back up again, persist back to the database, you’ve to take it out of the classes and then create store procedure parameters and push it back up again. So we are writing not only a lot of code for data access from the database but also a lot of code to push back data changes back to the database also. In simple words the CRUD functionality was not so easy [CRUD: create, read, update, delete]. You can say a lot of unnecessary and repeated code has to be written for simple CRUD operations. So Microsoft decided to solve the problem. This was the time when LINQ to SQL and LINQ to Entities came out.
Arrival of “LINQ to SQL” and “Entity Framework”
Developers were facing problems before the existence of any ORM. So it was the time when Microsoft decided to take some action about this.
There were two teams working in Microsoft research that time:
- Data access team
- C# team

Because they were working on LINQ, LINQ to SQL make sense to them. So it was the time when two ORMs met together and made some sense for the Entity framework. When the entity framework team saw LINQ, it obviously made a lot of sense for the EF team to use it for querying because the “LINQ to SQL” team was already using it for querying. [Note: LINQ to SQL is a string based querying ORM]. So they created the implementation of LINQ for entity framework and then we had LINQ to SQL and LINQ to Entities.
- LINQ to SQL
- LINQ to Entities
LINQ to Entities (Entity Framework):
LINQ to Entities is a part of entity framework that can go to any database.
LINQ to SQL:
LINQ to SQL was specifically written to work with SQL that time.
LINQ to SQL VS Entity Framework
- LINQ to SQL
- Entity framework
Why choose Entity Framework:
When it comes to choosing an ORM for data access, which should one choose, LINQ to SQL or LINQ to Entities? There is a lot of confusion about it and the answer is straight “entity framework” because it has cool features for developers.
There are different ORMs in the market currently and when someone has to make the decision to choose some ORM, he will first go for the mature version.
Another fantastic feature of Microsoft Entity Framework is that it’s a Microsoft Framework after all, which means if users (developers) want some change in the running version Microsoft will do this them. This is why we can say Entity framework is more responsive to the developer crowd.
Source: Evolution of Entity framework with Julie Lerman.

Humayun Kabir MamunPosted Mar 29, 2016, 12:19 AM
Nice...
Ammar ShaukatPosted Mar 28, 2016, 2:16 PM
thanks. kalu singh rao
Mobeen SarwarPosted Mar 28, 2016, 12:28 PM
Nice share
kalu singh raoPosted Mar 26, 2016, 10:59 AM
Nice...
Ankur MistryPosted Mar 25, 2016, 7:35 AM
Nice share Ammar Shaukat
Ammar ShaukatPosted Mar 25, 2016, 3:44 AM
thanks Kashif Sohail
Kashif SohailPosted Mar 24, 2016, 10:14 PM
Very Nice, and Informative
Ammar ShaukatPosted Mar 24, 2016, 1:51 PM
thanks Debasis Saha
Ammar ShaukatPosted Mar 24, 2016, 1:47 PM
thanks Rajeev Punhani . Did you read it ?
Vignesh ManiPosted Mar 24, 2016, 8:24 AM
Good one
Debasis SahaPosted Mar 24, 2016, 7:12 AM
Nice One..
Rajeev PunhaniPosted Mar 24, 2016, 7:10 AM
Nice Article.