Click here to Skip to main content
Click here to Skip to main content

Tagged as

About Entity Framework

, 26 Dec 2009 CPOL
Rate this:
Please Sign up or sign in to vote.
From past few days i was doing some R & D on the upcoming Entity framework from Microsoft, and i found it was interesting in many ways,The first part which i liked the most is -Querying to the Entity Data Model(EDM) rather than the real data store.At a high level , we have plenty of...
From past few days i was doing some R & D on the upcoming Entity framework from Microsoft, and i found it was interesting in many ways,
 
The first part which i liked the most is -
 
Querying to the Entity Data Model(EDM) rather than the real data store.
 
At a high level , we have plenty of options to query for the data store.
 
some of the options i had listed down here.
 
1) By using ObjectService API
2) By using Entity Client
3) By using LINQ to Entities
4) By usnig LINQ to SQL
5) By using Object Builder
 
The second part which i liked the most is - about the pattern which is invloved for any querying (Pattern : Unit of Work)
 
This is achieved by using the Class which is derived from the ObjectContext, which knows what happens to the entities(EntityObject)(New,Edit,Delete) during its(Context) life time, Hence context knows how to update the status back to the data store when the user finally submits back.(by doing many operations locally on the entities and finally invokes the command to the store),Best part is Entity framework know what command to generate depends on the status(EntityState) of the Entity.
 
How cool right???
 
Happy reading
 
Regards
-Vinayak

License

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

Share

About the Author

Vinayaka Krishna Shenoy
Architect MindTree Ltd
India India
Motivated achiever who guides organizations in applying technology to business settings, provides added value, and creates project deliverables in a timely manner. An experienced Technical Consultant, have successfully led large project teams of more than 20 people from requirements gathering to implementation and support using C#, .NET ,ADO.NET, ADO.NET Entity Framework,ASP.NET,ASP.NET MVC, WCF and SQL Server.

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.141216.1 | Last Updated 27 Dec 2009
Article Copyright 2009 by Vinayaka Krishna Shenoy
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid