Home / General / Entity Framework - Object Services Level. Updating and ObjectStateManager.
digWin is a community news sharing site for Microsoft Techies. Share interesting news/links and rate them!

Entity Framework - Object Services Level. Updating and ObjectStateManager.

Following on from the previous post I wanted to apply a similar approach with updating data. If I go and grab the first Shippers record from my store;

using (NorthwindContext ctx = new NorthwindContext("Name=NorthwindEntities"))
{
Shippers single = ctx.Shippers.First();
DumpObjectStateManager(ctx.ObjectStateManager);

single.Phone =








Microsoft news, tips and tricks search

Comments


Post voted by 1 digWinners


Featured Links

User

Login | Register




Forgot Password?

Sponsor

Anti spam filter for mail servers
Anti spam, anti phishing and email management software for Exchange/SMTP/Lotus. Download a FREE trial!

Featured

Download Free Exchange Ebook

Categories

Upcoming NEW

Recent comments

Related Sites