다음을 통해 공유


ScaffoldingModelExtensions.GetDataAnnotations 메서드

정의

오버로드

GetDataAnnotations(IEntityType, IAnnotationCodeGenerator)

엔터티 형식을 구성하는 데이터 주석을 가져옵니다.

GetDataAnnotations(INavigation, IAnnotationCodeGenerator)

탐색 속성을 구성할 데이터 주석을 가져옵니다.

GetDataAnnotations(IProperty, IAnnotationCodeGenerator)

속성을 구성할 데이터 주석을 가져옵니다.

GetDataAnnotations(ISkipNavigation, IAnnotationCodeGenerator)

건너뛰기 탐색 속성을 구성하는 데이터 주석을 가져옵니다.

GetDataAnnotations(IEntityType, IAnnotationCodeGenerator)

엔터티 형식을 구성하는 데이터 주석을 가져옵니다.

[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.ScaffoldingModelExtensions+<GetDataAnnotations>d__5))]
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment> GetDataAnnotations (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.ScaffoldingModelExtensions+<GetDataAnnotations>d__5))>]
static member GetDataAnnotations : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> seq<Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment>
<Extension()>
Public Iterator Function GetDataAnnotations (entityType As IEntityType, annotationCodeGenerator As IAnnotationCodeGenerator) As IEnumerable(Of AttributeCodeFragment)

매개 변수

entityType
IEntityType

엔터티 형식입니다.

annotationCodeGenerator
IAnnotationCodeGenerator

공급자의 주석 코드 생성기입니다.

반환

데이터 주석입니다.

특성

적용 대상

GetDataAnnotations(INavigation, IAnnotationCodeGenerator)

탐색 속성을 구성할 데이터 주석을 가져옵니다.

[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.ScaffoldingModelExtensions+<GetDataAnnotations>d__7))]
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment> GetDataAnnotations (this Microsoft.EntityFrameworkCore.Metadata.INavigation navigation, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.ScaffoldingModelExtensions+<GetDataAnnotations>d__7))>]
static member GetDataAnnotations : Microsoft.EntityFrameworkCore.Metadata.INavigation * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> seq<Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment>
<Extension()>
Public Iterator Function GetDataAnnotations (navigation As INavigation, annotationCodeGenerator As IAnnotationCodeGenerator) As IEnumerable(Of AttributeCodeFragment)

매개 변수

navigation
INavigation

탐색 속성입니다.

annotationCodeGenerator
IAnnotationCodeGenerator

공급자의 주석 코드 생성기입니다.

반환

데이터 주석입니다.

특성

적용 대상

GetDataAnnotations(IProperty, IAnnotationCodeGenerator)

속성을 구성할 데이터 주석을 가져옵니다.

[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.ScaffoldingModelExtensions+<GetDataAnnotations>d__6))]
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment> GetDataAnnotations (this Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.ScaffoldingModelExtensions+<GetDataAnnotations>d__6))>]
static member GetDataAnnotations : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> seq<Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment>
<Extension()>
Public Iterator Function GetDataAnnotations (property As IProperty, annotationCodeGenerator As IAnnotationCodeGenerator) As IEnumerable(Of AttributeCodeFragment)

매개 변수

property
IProperty

속성입니다.

annotationCodeGenerator
IAnnotationCodeGenerator

공급자의 주석 코드 생성기입니다.

반환

데이터 주석입니다.

특성

적용 대상

GetDataAnnotations(ISkipNavigation, IAnnotationCodeGenerator)

건너뛰기 탐색 속성을 구성하는 데이터 주석을 가져옵니다.

[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.ScaffoldingModelExtensions+<GetDataAnnotations>d__8))]
public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment> GetDataAnnotations (this Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation skipNavigation, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.ScaffoldingModelExtensions+<GetDataAnnotations>d__8))>]
static member GetDataAnnotations : Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> seq<Microsoft.EntityFrameworkCore.Design.AttributeCodeFragment>
<Extension()>
Public Iterator Function GetDataAnnotations (skipNavigation As ISkipNavigation, annotationCodeGenerator As IAnnotationCodeGenerator) As IEnumerable(Of AttributeCodeFragment)

매개 변수

skipNavigation
ISkipNavigation

탐색 건너뛰기 속성입니다.

annotationCodeGenerator
IAnnotationCodeGenerator

공급자의 주석 코드 생성기입니다.

반환

데이터 주석입니다.

특성

적용 대상