Table<TEntity>::ITable::Attach Method (Object^)

 

Attaches an entity to the DataContext in an unmodified state.

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

private:
virtual void Attach(
	Object^ entity
) sealed = ITable::Attach

Parameters

entity
Type: System::Object^

The entity to be attached.

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

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top
Show: