Aracılığıyla paylaş


ScaffoldingModelExtensions.GetFluentApiCalls Yöntem

Tanım

Aşırı Yüklemeler

GetFluentApiCalls(IEntityType, IAnnotationCodeGenerator)

Varlık türünü yapılandırmak için akıcı API çağrılarını alır.

GetFluentApiCalls(IIndex, IAnnotationCodeGenerator)

Dizini yapılandırmak için akıcı API çağrılarını alır.

GetFluentApiCalls(IKey, IAnnotationCodeGenerator)

Bir anahtarı yapılandırmak için akıcı API çağrılarını alır.

GetFluentApiCalls(IModel, IAnnotationCodeGenerator)

Modeli yapılandırmak için akıcı API çağrılarını alır.

GetFluentApiCalls(IProperty, IAnnotationCodeGenerator)

Bir özelliği yapılandırmak için akıcı API çağrılarını alır.

GetFluentApiCalls(ISequence, IAnnotationCodeGenerator)

Bir diziyi yapılandırmak için akıcı API çağrılarını alır.

GetFluentApiCalls(IForeignKey, IAnnotationCodeGenerator, Boolean)

Yabancı anahtarı yapılandırmak için akıcı API çağrılarını alır.

GetFluentApiCalls(IEntityType, IAnnotationCodeGenerator)

Varlık türünü yapılandırmak için akıcı API çağrılarını alır.

public static Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment? GetFluentApiCalls (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
static member GetFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment
<Extension()>
Public Function GetFluentApiCalls (entityType As IEntityType, annotationCodeGenerator As IAnnotationCodeGenerator) As FluentApiCodeFragment

Parametreler

entityType
IEntityType

Varlık türü.

annotationCodeGenerator
IAnnotationCodeGenerator

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

Döndürülenler

Akıcı API çağrıları.

Şunlara uygulanır

GetFluentApiCalls(IIndex, IAnnotationCodeGenerator)

Dizini yapılandırmak için akıcı API çağrılarını alır.

public static Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment? GetFluentApiCalls (this Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
static member GetFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment
<Extension()>
Public Function GetFluentApiCalls (index As IIndex, annotationCodeGenerator As IAnnotationCodeGenerator) As FluentApiCodeFragment

Parametreler

index
IIndex

Dizin.

annotationCodeGenerator
IAnnotationCodeGenerator

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

Döndürülenler

Akıcı API çağrıları.

Şunlara uygulanır

GetFluentApiCalls(IKey, IAnnotationCodeGenerator)

Bir anahtarı yapılandırmak için akıcı API çağrılarını alır.

public static Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment? GetFluentApiCalls (this Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
static member GetFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment
<Extension()>
Public Function GetFluentApiCalls (key As IKey, annotationCodeGenerator As IAnnotationCodeGenerator) As FluentApiCodeFragment

Parametreler

key
IKey

Anahtar.

annotationCodeGenerator
IAnnotationCodeGenerator

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

Döndürülenler

Akıcı API çağrıları.

Şunlara uygulanır

GetFluentApiCalls(IModel, IAnnotationCodeGenerator)

Modeli yapılandırmak için akıcı API çağrılarını alır.

public static Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment? GetFluentApiCalls (this Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
static member GetFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment
<Extension()>
Public Function GetFluentApiCalls (model As IModel, annotationCodeGenerator As IAnnotationCodeGenerator) As FluentApiCodeFragment

Parametreler

model
IModel

Model.

annotationCodeGenerator
IAnnotationCodeGenerator

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

Döndürülenler

Akıcı API çağrıları.

Şunlara uygulanır

GetFluentApiCalls(IProperty, IAnnotationCodeGenerator)

Bir özelliği yapılandırmak için akıcı API çağrılarını alır.

public static Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment? GetFluentApiCalls (this Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
static member GetFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment
<Extension()>
Public Function GetFluentApiCalls (property As IProperty, annotationCodeGenerator As IAnnotationCodeGenerator) As FluentApiCodeFragment

Parametreler

property
IProperty

Özellik.

annotationCodeGenerator
IAnnotationCodeGenerator

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

Döndürülenler

Akıcı API çağrıları.

Şunlara uygulanır

GetFluentApiCalls(ISequence, IAnnotationCodeGenerator)

Bir diziyi yapılandırmak için akıcı API çağrılarını alır.

public static Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment? GetFluentApiCalls (this Microsoft.EntityFrameworkCore.Metadata.ISequence sequence, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
static member GetFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.ISequence * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment
<Extension()>
Public Function GetFluentApiCalls (sequence As ISequence, annotationCodeGenerator As IAnnotationCodeGenerator) As FluentApiCodeFragment

Parametreler

sequence
ISequence

Sıra.

annotationCodeGenerator
IAnnotationCodeGenerator

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

Döndürülenler

Akıcı API çağrıları.

Şunlara uygulanır

GetFluentApiCalls(IForeignKey, IAnnotationCodeGenerator, Boolean)

Yabancı anahtarı yapılandırmak için akıcı API çağrılarını alır.

public static Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment? GetFluentApiCalls (this Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator, bool useStrings = false);
static member GetFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator * bool -> Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment
<Extension()>
Public Function GetFluentApiCalls (foreignKey As IForeignKey, annotationCodeGenerator As IAnnotationCodeGenerator, Optional useStrings As Boolean = false) As FluentApiCodeFragment

Parametreler

foreignKey
IForeignKey

Yabancı anahtar.

annotationCodeGenerator
IAnnotationCodeGenerator

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

useStrings
Boolean

Özellik erişimcisi lambda'sını alanlar yerine dize fluent API aşırı yüklemelerini kullanmak için wheter değerini gösteren değer.

Döndürülenler

Akıcı API çağrıları.

Şunlara uygulanır