Table<TEntity>.ITable.Attach Method (Object, Boolean)

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

For a description of this member, see Attach.

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

Syntax

'Declaration
Private Sub Attach ( _
    entity As Object, _
    asModified As Boolean _
) Implements ITable.Attach
void ITable.Attach(
    Object entity,
    bool asModified
)

Parameters

  • asModified
    Type: System.Boolean
    True to attach the entity as modified.

Implements

ITable.Attach(Object, Boolean)

Remarks

This member is an explicit interface member implementation. It can be used only when the Table<TEntity> instance is cast to an ITable interface.

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.