Partager via


NavigationAttributeConventionBase<TAttribute>.GetAttributes Méthode

Définition

Surcharges

GetAttributes<TCustomAttribute>(IConventionEntityType, IConventionNavigation)

Retourne les attributs appliqués à la navigation donnée.

GetAttributes<TCustomAttribute>(IConventionEntityType, IConventionSkipNavigation)

Retourne les attributs appliqués au saut de navigation donné.

GetAttributes<TCustomAttribute>(IConventionEntityType, IConventionNavigation)

Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs

Retourne les attributs appliqués à la navigation donnée.

protected static System.Collections.Generic.IEnumerable<TCustomAttribute> GetAttributes<TCustomAttribute> (Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation navigation) where TCustomAttribute : Attribute;
static member GetAttributes : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * Microsoft.EntityFrameworkCore.Metadata.IConventionNavigation -> seq<'CustomAttribute (requires 'CustomAttribute :> Attribute)> (requires 'CustomAttribute :> Attribute)
Protected Shared Function GetAttributes(Of TCustomAttribute As Attribute) (entityType As IConventionEntityType, navigation As IConventionNavigation) As IEnumerable(Of TCustomAttribute)

Paramètres de type

TCustomAttribute

Type d’attribut à rechercher.

Paramètres

entityType
IConventionEntityType

Type d'entité.

navigation
IConventionNavigation

Navigation.

Retours

IEnumerable<TCustomAttribute>

Attributs appliqués à la navigation donnée.

S’applique à

GetAttributes<TCustomAttribute>(IConventionEntityType, IConventionSkipNavigation)

Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs
Source:
NavigationAttributeConventionBase.cs

Retourne les attributs appliqués au saut de navigation donné.

protected static System.Collections.Generic.IEnumerable<TCustomAttribute> GetAttributes<TCustomAttribute> (Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.IConventionSkipNavigation skipNavigation) where TCustomAttribute : Attribute;
static member GetAttributes : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * Microsoft.EntityFrameworkCore.Metadata.IConventionSkipNavigation -> seq<'CustomAttribute (requires 'CustomAttribute :> Attribute)> (requires 'CustomAttribute :> Attribute)
Protected Shared Function GetAttributes(Of TCustomAttribute As Attribute) (entityType As IConventionEntityType, skipNavigation As IConventionSkipNavigation) As IEnumerable(Of TCustomAttribute)

Paramètres de type

TCustomAttribute

Type d’attribut à rechercher.

Paramètres

entityType
IConventionEntityType

Type d'entité.

skipNavigation
IConventionSkipNavigation

Navigation skip.

Retours

IEnumerable<TCustomAttribute>

Attributs appliqués à la navigation de saut donnée.

S’applique à