Click here to Skip to main content
12,512,515 members (62,879 online)
Click here to Skip to main content
Add your own
alternative version

Stats

4.7K views
2 bookmarked
Posted

Extension points for ADO.NET Entity Framework

, 31 Dec 2009 CPOL
Rate this:
Please Sign up or sign in to vote.
I explored a bit more on Entity framework,during last week of 2009 and here goes my observations on how to extend the Entity Framework functionality if you want to customize the normal/ideal flow of Entity framework execution engine.1) OnContextCreatedBy default a declaration of this...
I explored a bit more on Entity framework,during last week of 2009 and here goes my observations on how to extend the Entity Framework functionality if you want to customize the normal/ideal flow of Entity framework execution engine.

1) OnContextCreated

By default a declaration of this method will be there as a partial method in the generated code, and as the name suggest this will be invoked during the first time when the ObjectContext class gets created,Hence this is the right place if you want to execute some operation after the ObjectContext creation

2) On

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.

You may also be interested in...

Pro
Pro

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160929.1 | Last Updated 1 Jan 2010
Article Copyright 2010 by Vinayaka Krishna Shenoy
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid