Nov 23, 2012

The entity lifecycle

11/23/2012 11:05:00 PM

The entity lifecycle

 

During its lifetime, an entity has a state. Before looking at how to retrieve entity state, let’s take a look at what entity state is. The state is an enum of type System.Data.EntityState that declares the following values:

  • Added—The entity is marked as added.
  • Deleted—The entity is marked as deleted.
  • Modified—The entity has been modified.
  • Unchanged—The entity hasn’t been modified.
  • Detached—The entity isn’t tracked.

 

Written by

We are Creative Blogger Theme Wavers which provides user friendly, effective and easy to use themes. Each support has free and providing HD support screen casting.

0 comments:

Post a Comment

Recent Posts
Popular Articles

 

© 2013 MUNISH ORACLE DBA& .Net Developer. All rights resevered. Designed by Templateism

Back To Top