Attach Method (Object, Boolean)
Collapse the table of content
Expand the table of content

ITable.Attach Method (Object, Boolean)

Attaches all entities of a collection to the DataContext in either a modified or unmodified state.

Namespace:  System.Data.Linq
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

void Attach(
	Object entity,
	bool asModified
)

Parameters

entity
Type: System.Object
The collection of entities.
asModified
Type: System.Boolean
true to attach the entities as modified.

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2016 Microsoft