ITable.Attach Method (Object, Boolean)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Attaches all entities of a collection to the DataContext in either a modified or unmodified state.
Assembly: System.Data.Linq (in System.Data.Linq.dll)
Parameters
- entity
- Type: System.Object
The collection of entities.
- asModified
- Type: System.Boolean
true to attach the entities as modified.
Show: