Export (0) Print
Expand All

Table<TEntity>.Attach Method

Allows deserialized entities to be associated with a new instance of a DataContext so that they can be updated or deleted from the database.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Explicit interface implemetation Private method ITable.Attach(Object) Attaches an entity to the DataContext in an unmodified state.
Explicit interface implemetation Private method ITable.Attach(Object, Boolean) Attaches all entities of a collection to the DataContext in either a modified or unmodified state.
Explicit interface implemetation Private method ITable.Attach(Object, Object) Attaches an entity to the DataContext in either a modified or unmodified state by specifying both the entity and its original state.
Top
Show:
© 2014 Microsoft