ITable.Attach Method (Object, Object)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Attaches an entity to the DataContext in either a modified or unmodified state by specifying both the entity and its original state.
Assembly: System.Data.Linq (in System.Data.Linq.dll)
Parameters
- entity
- Type: System.Object
The entity to be attached.
- original
- Type: System.Object
An instance of the same entity type with data members that contain the original values.
Show: