DbEntityEntry.Collection Method (String)
Gets an object that represents the collection navigation property from this entity to a collection of related entities.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- navigationProperty
-
Type:
System.String
The name of the navigation property.
Return Value
Type: System.Data.Entity.Infrastructure.DbCollectionEntryAn object representing the navigation property.