ScaffoldingModelExtensions.GetFluentApiCalls Método

Definição

Sobrecargas

GetFluentApiCalls(IEntityType, IAnnotationCodeGenerator)

Obtém as chamadas à API fluente para configurar um tipo de entidade.

GetFluentApiCalls(IIndex, IAnnotationCodeGenerator)

Obtém as chamadas à API fluente para configurar um índice.

GetFluentApiCalls(IKey, IAnnotationCodeGenerator)

Obtém as chamadas à API fluente para configurar uma chave.

GetFluentApiCalls(IModel, IAnnotationCodeGenerator)

Obtém as chamadas à API fluente para configurar um modelo.

GetFluentApiCalls(IProperty, IAnnotationCodeGenerator)

Obtém as chamadas à API fluente para configurar uma propriedade.

GetFluentApiCalls(ISequence, IAnnotationCodeGenerator)

Obtém as chamadas à API fluente para configurar uma sequência.

GetFluentApiCalls(IForeignKey, IAnnotationCodeGenerator, Boolean)

Obtém as chamadas à API fluente para configurar uma chave estrangeira.

GetFluentApiCalls(IEntityType, IAnnotationCodeGenerator)

Obtém as chamadas à API fluente para configurar um tipo de entidade.

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

Parâmetros

entityType
IEntityType

O tipo de entidade.

annotationCodeGenerator
IAnnotationCodeGenerator

O gerador de código de anotação do provedor.

Retornos

As chamadas à API fluente.

Aplica-se a

GetFluentApiCalls(IIndex, IAnnotationCodeGenerator)

Obtém as chamadas à API fluente para configurar um índice.

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

Parâmetros

index
IIndex

O índice.

annotationCodeGenerator
IAnnotationCodeGenerator

O gerador de código de anotação do provedor.

Retornos

As chamadas à API fluente.

Aplica-se a

GetFluentApiCalls(IKey, IAnnotationCodeGenerator)

Obtém as chamadas à API fluente para configurar uma chave.

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

Parâmetros

key
IKey

A chave.

annotationCodeGenerator
IAnnotationCodeGenerator

O gerador de código de anotação do provedor.

Retornos

As chamadas à API fluente.

Aplica-se a

GetFluentApiCalls(IModel, IAnnotationCodeGenerator)

Obtém as chamadas à API fluente para configurar um modelo.

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

Parâmetros

model
IModel

O modelo.

annotationCodeGenerator
IAnnotationCodeGenerator

O gerador de código de anotação do provedor.

Retornos

As chamadas à API fluente.

Aplica-se a

GetFluentApiCalls(IProperty, IAnnotationCodeGenerator)

Obtém as chamadas à API fluente para configurar uma propriedade.

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

Parâmetros

property
IProperty

A propriedade.

annotationCodeGenerator
IAnnotationCodeGenerator

O gerador de código de anotação do provedor.

Retornos

As chamadas à API fluente.

Aplica-se a

GetFluentApiCalls(ISequence, IAnnotationCodeGenerator)

Obtém as chamadas à API fluente para configurar uma sequência.

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

Parâmetros

sequence
ISequence

A sequência.

annotationCodeGenerator
IAnnotationCodeGenerator

O gerador de código de anotação do provedor.

Retornos

As chamadas à API fluente.

Aplica-se a

GetFluentApiCalls(IForeignKey, IAnnotationCodeGenerator, Boolean)

Obtém as chamadas à API fluente para configurar uma chave estrangeira.

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

Parâmetros

foreignKey
IForeignKey

A chave estrangeira.

annotationCodeGenerator
IAnnotationCodeGenerator

O gerador de código de anotação do provedor.

useStrings
Boolean

Um valor que indica o wheter para usar sobrecargas de API fluentes de cadeia de caracteres em vez das que usam um acessador de propriedade lambda.

Retornos

As chamadas à API fluente.

Aplica-se a