Click here to Skip to main content
15,886,362 members
Articles / Programming Languages / C# 4.0

Replace an Entity in Entity Framework Context

Rate me:
Please Sign up or sign in to vote.
4.00/5 (1 vote)
24 Feb 2010CPOL 16.6K   1  
I was struggling recently with a problem I KNEW had to be solvable in a much easier way than replacing ALL the fields in my managed entity by hand and then saving it. I wanted a way that I could simply replace the managed entity with a new one that had been created from an XML document.Turns...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

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


Written By
South Africa South Africa
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions