DbEntityEntry.Collection(String) DbEntityEntry.Collection(String) DbEntityEntry.Collection(String) Method

Definition

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 String String

The name of the navigation property.

Returns

An object representing the navigation property.

Applies to