Entity Framework Improvements in Visual Studio 2010 SP1

The information in this post is out of date. Visit msdn.com/data/ef for the latest information on current and past releases of EF. Today’s release of Visual Studio 2010 SP1 includes several performance and stability improvements for Entity Framework 4.0.  MSDN subscribers can download the service pack immediately, and the release will have general availability on… Read more

Self-Tracking Entities: Original Values and Update Customization

I’ve been looking through the Entity Framework MSDN forums and one useful tip that I wanted to blog about was how to customize which original values are tracked so that you can optimize the service payload and to customize the number of things in the database UPDATE SQL. Self-tracking entities track at least some original… Read more

Working with Sets of Self-Tracking Entities

The information in this post is out of date. Visit msdn.com/data/ef for the latest information on current and past releases of EF. Self-tracking entities have several utility methods to do things like AcceptChanges and StartTracking which work over a single entity. However, there are cases where it would be nice to be able to do… Read more

Using Binary Serialization and ViewState with Self-Tracking Entities

A common question the Entity Framework team hears is how to store a set of self-tracking entities in ViewState for an ASP.NET application. There are a number of options for where to store state information in an ASP.NET and I’d recommend this article on MSDN if you are looking for guidance on this. In this… Read more

Self-Tracking Entities in Silverlight

In Visual Studio 2010 and .NET 4.0, the Entity Framework team added a T4 template for generating self-tracking entities to provide an easier experience building N-tier applications that need to send entities with changes between tiers. Since we first introduced self-tracking entities as a CTP, one common question is whether these entities are compatible with… Read more