DbEntityEntry.Collection(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an object that represents the collection navigation property from this entity to a collection of related entities.
public System.Data.Entity.Infrastructure.DbCollectionEntry Collection (string navigationProperty);
member this.Collection : string -> System.Data.Entity.Infrastructure.DbCollectionEntry
Public Function Collection (navigationProperty As String) As DbCollectionEntry
Parameters
- navigationProperty
- String
The name of the navigation property.
Returns
An object representing the navigation property.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework