Freigeben über


NavigationExtensions.IsCollection(INavigation) Methode

Definition

Achtung

Use INavigation.IsCollection

Achtung

Use IReadOnlyNavigation.IsCollection

Ruft einen Wert ab, der angibt, ob die angegebene Navigationseigenschaft eine Auflistungseigenschaft ist.

public static bool IsCollection (this Microsoft.EntityFrameworkCore.Metadata.INavigation navigation);
[System.Diagnostics.DebuggerStepThrough]
public static bool IsCollection (this Microsoft.EntityFrameworkCore.Metadata.INavigation navigation);
[System.Diagnostics.DebuggerStepThrough]
[System.Obsolete("Use INavigation.IsCollection")]
public static bool IsCollection (this Microsoft.EntityFrameworkCore.Metadata.INavigation navigation);
[System.Diagnostics.DebuggerStepThrough]
[System.Obsolete("Use IReadOnlyNavigation.IsCollection")]
public static bool IsCollection (this Microsoft.EntityFrameworkCore.Metadata.INavigation navigation);
static member IsCollection : Microsoft.EntityFrameworkCore.Metadata.INavigation -> bool
[<System.Diagnostics.DebuggerStepThrough>]
static member IsCollection : Microsoft.EntityFrameworkCore.Metadata.INavigation -> bool
[<System.Diagnostics.DebuggerStepThrough>]
[<System.Obsolete("Use INavigation.IsCollection")>]
static member IsCollection : Microsoft.EntityFrameworkCore.Metadata.INavigation -> bool
[<System.Diagnostics.DebuggerStepThrough>]
[<System.Obsolete("Use IReadOnlyNavigation.IsCollection")>]
static member IsCollection : Microsoft.EntityFrameworkCore.Metadata.INavigation -> bool
<Extension()>
Public Function IsCollection (navigation As INavigation) As Boolean

Parameter

navigation
INavigation

Die zu überprüfende Navigationseigenschaft.

Gibt zurück

true , wenn dies eine Auflistungseigenschaft ist, false, wenn es sich um eine Verweiseigenschaft handelt.

Attribute

Gilt für: