Customizing Entity Framework Objects
The recipes in this chapter explore some of the customizations that can be applied to objects and to the processes in Entity Framework. These recipes cover many of the “behind the scenes” things that you can do to make your code more uniform by pushing concerns about things like business rule enforcement out of the details of your application to a central, application-wide implementation.
We start off this chapter with a recipe that shows you how to have your own code executable anytime SaveChanges() is called within your application. This recipe and a few others are particularly useful if you want ...