DbEntityEntry<TEntity>.Collection Method

Gets an object that represents the collection navigation property from this entity to a collection of related entities.

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 Collection<TElement>(Expression<Func<TEntity, ICollection<TElement>>>) Gets an object that represents the collection navigation property from this entity to a collection of related entities.
Public method Collection<TElement>(String) Gets an object that represents the collection navigation property from this entity to a collection of related entities.
Public method Collection(String) Gets an object that represents the collection navigation property from this entity to a collection of related entities.
Top
Show: