ITable.AttachAll Method (IEnumerable, Boolean)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
Sub AttachAll ( _
    entities As IEnumerable, _
    asModified As Boolean _
)
void AttachAll(
    IEnumerable entities,
    bool asModified
)

Parameters

  • asModified
    Type: System.Boolean
    true to attach the entities as modified.

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

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