Partager via


NavigationExtensions.IsCollection(INavigation) Méthode

Définition

Attention

Use INavigation.IsCollection

Attention

Use IReadOnlyNavigation.IsCollection

Obtient une valeur indiquant si la propriété de navigation donnée est une propriété de collection.

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

Paramètres

navigation
INavigation

Propriété de navigation à case activée.

Retours

true s’il s’agit d’une propriété de collection, false s’il s’agit d’une propriété de référence.

Attributs

S’applique à