LINQ in Action roller

Solution to "An entity object cannot be referenced by multiple instances of IEntityChangeTracker"

As always, forgive me my bad english... Consider the follow: I have in my application a singleton object ("AppInfo") that holds some important data. All my tables have a field "USER". I create a property on AppInfo that once accessed, create (if doesn't exist yet) a instance of the entity "USER" or simply returns it if it was already created before. Now, on my application when I need to save something, lets say an order: Entities context = new Entities(); Order order = new Order(); order.code = 1; Read More...
Published Wednesday, July 23, 2008 12:30 AM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication