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

Entity Framework - Object Services Level. The ObjectStateManager.

When you look at an ObjectContext (or something derived from it) in the Entity Framework you'll spot that it has a property on it called ObjectStateManager which is of type ObjectStateManager.

This type is vital to making object services work beyond just querying the database. With the ObjectContext, you can grab objects from queries and you can then modify them, delete them and, additionally, you can add objects to the context.

Nothing happens in the store until you call ObjectContext.SaveChanges





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