Sprache

DbEntityEntry.Collection(String) Methode

Definition

Ruft ein Objekt ab, das die Auflistungsnavigationseigenschaft von dieser Entität zu einer Auflistung verwandter Entitäten darstellt.

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

Parameter

navigationProperty
String

Der Name der Navigationseigenschaft.

Gibt zurück

Ein Objekt, das die Navigationseigenschaft darstellt.

Gilt für: