Export (0) Print
Expand All

ITable<TEntity>.Attach Method

When overridden, attaches a disconnected or "detached" entity to a new DataContext when original values are required for optimistic concurrency checks.

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

void Attach(
	TEntity entity


Type: TEntity

The object to be added.

For more information, see Attach.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft