Export (0) Print
Expand All

EntityCollection<TEntity>.Attach Method

Defines a relationship between two attached objects in an object context.

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

  Name Description
Public method Attach(TEntity) Defines a relationship between two attached objects in an object context.
Public method Attach(IEnumerable<TEntity>) Defines relationships between an object and a collection of related objects in an object context.
Top
Show:
© 2015 Microsoft