Jazyk

ScaffoldingModelExtensions.GetDataAnnotations Metoda

Definice

Přetížení

Název Description
GetDataAnnotations(IEntityType, IAnnotationCodeGenerator)

Získá datové poznámky ke konfiguraci typu entity.

GetDataAnnotations(INavigation, IAnnotationCodeGenerator)

Získá datové poznámky ke konfiguraci navigační vlastnosti.

GetDataAnnotations(IProperty, IAnnotationCodeGenerator)

Získá datové poznámky ke konfiguraci vlastnosti.

GetDataAnnotations(ISkipNavigation, IAnnotationCodeGenerator)

Získá datové poznámky ke konfiguraci přeskočení navigační vlastnosti.

GetDataAnnotations(IEntityType, IAnnotationCodeGenerator)

Zdroj:
ScaffoldingModelExtensions.cs
Zdroj:
ScaffoldingModelExtensions.cs
Zdroj:
ScaffoldingModelExtensions.cs
Zdroj:
ScaffoldingModelExtensions.cs
Zdroj:
ScaffoldingModelExtensions.cs

Získá datové poznámky ke konfiguraci typu entity.

[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)

Parametry

entityType
IEntityType

Typ entity.

annotationCodeGenerator
IAnnotationCodeGenerator

Generátor kódu poznámek poskytovatele.

Návraty

Datové poznámky.

Atributy

Platí pro

GetDataAnnotations(INavigation, IAnnotationCodeGenerator)

Zdroj:
ScaffoldingModelExtensions.cs
Zdroj:
ScaffoldingModelExtensions.cs
Zdroj:
ScaffoldingModelExtensions.cs
Zdroj:
ScaffoldingModelExtensions.cs
Zdroj:
ScaffoldingModelExtensions.cs

Získá datové poznámky ke konfiguraci navigační vlastnosti.

[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)

Parametry

navigation
INavigation

Navigační vlastnost.

annotationCodeGenerator
IAnnotationCodeGenerator

Generátor kódu poznámek poskytovatele.

Návraty

Datové poznámky.

Atributy

Platí pro

GetDataAnnotations(IProperty, IAnnotationCodeGenerator)

Zdroj:
ScaffoldingModelExtensions.cs
Zdroj:
ScaffoldingModelExtensions.cs
Zdroj:
ScaffoldingModelExtensions.cs
Zdroj:
ScaffoldingModelExtensions.cs
Zdroj:
ScaffoldingModelExtensions.cs

Získá datové poznámky ke konfiguraci vlastnosti.

[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)

Parametry

property
IProperty

Vlastnost.

annotationCodeGenerator
IAnnotationCodeGenerator

Generátor kódu poznámek poskytovatele.

Návraty

Datové poznámky.

Atributy

Platí pro

GetDataAnnotations(ISkipNavigation, IAnnotationCodeGenerator)

Zdroj:
ScaffoldingModelExtensions.cs
Zdroj:
ScaffoldingModelExtensions.cs
Zdroj:
ScaffoldingModelExtensions.cs
Zdroj:
ScaffoldingModelExtensions.cs
Zdroj:
ScaffoldingModelExtensions.cs

Získá datové poznámky ke konfiguraci přeskočení navigační vlastnosti.

[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)

Parametry

skipNavigation
ISkipNavigation

Vlastnost pro přeskočení navigace

annotationCodeGenerator
IAnnotationCodeGenerator

Generátor kódu poznámek poskytovatele.

Návraty

Datové poznámky.

Atributy

Platí pro