Table<TEntity>.GetOriginalEntityState Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns an instance that contains the original state of the entity.
Assembly: System.Data.Linq (in System.Data.Linq.dll)
Parameters
- entity
- Type: TEntity
The entity whose original state is to be returned.
This method returns the original state of an entity since it was either created or attached to the current DataContext. The original state of an entity that has been serialized and deserialized must be provided by an independent tracking mechanism and supplied when the entity is attached to a new DataContext.