Freigeben über


NavigationAttributeConventionBase<TAttribute>.GetAttributes Methode

Definition

Überlädt

GetAttributes<TCustomAttribute>(IConventionEntityType, IConventionNavigation)

Gibt die Attribute zurück, die auf die angegebene Navigation angewendet werden.

GetAttributes<TCustomAttribute>(IConventionEntityType, IConventionSkipNavigation)

Gibt die Attribute zurück, die auf die angegebene Skip-Navigation angewendet werden.

GetAttributes<TCustomAttribute>(IConventionEntityType, IConventionNavigation)

Gibt die Attribute zurück, die auf die angegebene Navigation angewendet werden.

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)

Typparameter

TCustomAttribute

Der zu suchende Attributtyp.

Parameter

entityType
IConventionEntityType

Der Entitätstyp.

navigation
IConventionNavigation

Die Navigation.

Gibt zurück

IEnumerable<TCustomAttribute>

Die Attribute, die auf die angegebene Navigation angewendet werden.

Gilt für:

GetAttributes<TCustomAttribute>(IConventionEntityType, IConventionSkipNavigation)

Gibt die Attribute zurück, die auf die angegebene Skip-Navigation angewendet werden.

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)

Typparameter

TCustomAttribute

Der zu suchende Attributtyp.

Parameter

entityType
IConventionEntityType

Der Entitätstyp.

skipNavigation
IConventionSkipNavigation

Die Navigation überspringt.

Gibt zurück

IEnumerable<TCustomAttribute>

Die Attribute, die auf die angegebene Skip-Navigation angewendet werden.

Gilt für: