Dil

ScaffoldingModelExtensions.GetDataAnnotations Yöntem

Tanım

Aşırı Yüklemeler

Veri Akışı Adı Description
GetDataAnnotations(IEntityType, IAnnotationCodeGenerator)

Varlık türünü yapılandırmak için veri ek açıklamalarını alır.

GetDataAnnotations(INavigation, IAnnotationCodeGenerator)

Gezinti özelliğini yapılandırmak için veri ek açıklamalarını alır.

GetDataAnnotations(IProperty, IAnnotationCodeGenerator)

Bir özelliği yapılandırmak için veri ek açıklamalarını alır.

GetDataAnnotations(ISkipNavigation, IAnnotationCodeGenerator)

Atlama gezinti özelliğini yapılandırmak için veri ek açıklamalarını alır.

GetDataAnnotations(IEntityType, IAnnotationCodeGenerator)

Kaynak:
ScaffoldingModelExtensions.cs
Kaynak:
ScaffoldingModelExtensions.cs
Kaynak:
ScaffoldingModelExtensions.cs
Kaynak:
ScaffoldingModelExtensions.cs
Kaynak:
ScaffoldingModelExtensions.cs

Varlık türünü yapılandırmak için veri ek açıklamalarını alır.

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

Parametreler

entityType
IEntityType

Varlık türü.

annotationCodeGenerator
IAnnotationCodeGenerator

Sağlayıcının ek açıklama kod oluşturucusunun.

Döndürülenler

Veri ek açıklamaları.

Özellikler

Şunlara uygulanır

GetDataAnnotations(INavigation, IAnnotationCodeGenerator)

Kaynak:
ScaffoldingModelExtensions.cs
Kaynak:
ScaffoldingModelExtensions.cs
Kaynak:
ScaffoldingModelExtensions.cs
Kaynak:
ScaffoldingModelExtensions.cs
Kaynak:
ScaffoldingModelExtensions.cs

Gezinti özelliğini yapılandırmak için veri ek açıklamalarını alır.

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

Parametreler

navigation
INavigation

Gezinti özelliği.

annotationCodeGenerator
IAnnotationCodeGenerator

Sağlayıcının ek açıklama kod oluşturucusunun.

Döndürülenler

Veri ek açıklamaları.

Özellikler

Şunlara uygulanır

GetDataAnnotations(IProperty, IAnnotationCodeGenerator)

Kaynak:
ScaffoldingModelExtensions.cs
Kaynak:
ScaffoldingModelExtensions.cs
Kaynak:
ScaffoldingModelExtensions.cs
Kaynak:
ScaffoldingModelExtensions.cs
Kaynak:
ScaffoldingModelExtensions.cs

Bir özelliği yapılandırmak için veri ek açıklamalarını alır.

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

Parametreler

property
IProperty

özelliği.

annotationCodeGenerator
IAnnotationCodeGenerator

Sağlayıcının ek açıklama kod oluşturucusunun.

Döndürülenler

Veri ek açıklamaları.

Özellikler

Şunlara uygulanır

GetDataAnnotations(ISkipNavigation, IAnnotationCodeGenerator)

Kaynak:
ScaffoldingModelExtensions.cs
Kaynak:
ScaffoldingModelExtensions.cs
Kaynak:
ScaffoldingModelExtensions.cs
Kaynak:
ScaffoldingModelExtensions.cs
Kaynak:
ScaffoldingModelExtensions.cs

Atlama gezinti özelliğini yapılandırmak için veri ek açıklamalarını alır.

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

Parametreler

skipNavigation
ISkipNavigation

Atlama gezinti özelliği.

annotationCodeGenerator
IAnnotationCodeGenerator

Sağlayıcının ek açıklama kod oluşturucusunun.

Döndürülenler

Veri ek açıklamaları.

Özellikler

Şunlara uygulanır