NavigationAttributeConventionBase<TAttribute>.GetAttributes Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| Name | Beschreibung |
|---|---|
| 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 Übersprungnavigation 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 attributtyp, nach dem gesucht werden soll.
Parameter
- entityType
- IConventionEntityType
Der Objekttyp.
- navigation
- IConventionNavigation
Die Navigation.
Gibt zurück
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 Übersprungnavigation 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 attributtyp, nach dem gesucht werden soll.
Parameter
- entityType
- IConventionEntityType
Der Objekttyp.
- skipNavigation
- IConventionSkipNavigation
Die Navigation übersprungen.
Gibt zurück
Die Attribute, die auf die angegebene Skip-Navigation angewendet werden.