LinqConnect Documentation
Devart.Data.Linq Namespace / ITable Interface / Attach Method / Attach(Object) Method
The entity to be attached.

Attach(Object) Method
Attaches an entity to the DataContext in an unmodified state.
Syntax
'Declaration
 
Overloads Sub Attach( _
   ByVal entity As Object _
) 
 

Parameters

entity
The entity to be attached.
Remarks
For more information about how to use this method, see Data Retrieval and CUD Operations in N-Tier Applications (LINQ to SQL).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also