Share via


NavigationAttributeConventionBase<TAttribute>.GetAttributes 메서드

정의

오버로드

GetAttributes<TCustomAttribute>(IConventionEntityType, IConventionNavigation)

지정된 탐색에 적용된 특성을 반환합니다.

GetAttributes<TCustomAttribute>(IConventionEntityType, IConventionSkipNavigation)

지정된 건너뛰기 탐색에 적용된 특성을 반환합니다.

GetAttributes<TCustomAttribute>(IConventionEntityType, IConventionNavigation)

지정된 탐색에 적용된 특성을 반환합니다.

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)

형식 매개 변수

TCustomAttribute

찾을 특성 형식입니다.

매개 변수

entityType
IConventionEntityType

엔터티 형식입니다.

navigation
IConventionNavigation

탐색입니다.

반환

IEnumerable<TCustomAttribute>

지정된 탐색에 적용된 특성입니다.

적용 대상

GetAttributes<TCustomAttribute>(IConventionEntityType, IConventionSkipNavigation)

지정된 건너뛰기 탐색에 적용된 특성을 반환합니다.

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)

형식 매개 변수

TCustomAttribute

찾을 특성 형식입니다.

매개 변수

entityType
IConventionEntityType

엔터티 형식입니다.

skipNavigation
IConventionSkipNavigation

건너뛰기 탐색입니다.

반환

IEnumerable<TCustomAttribute>

지정된 건너뛰기 탐색에 적용되는 특성입니다.

적용 대상