ScaffoldingModelExtensions.GetFluentApiCalls Metodo

Definizione

Overload

GetFluentApiCalls(IEntityType, IAnnotationCodeGenerator)

Ottiene le chiamate api fluenti per configurare un tipo di entità.

GetFluentApiCalls(IIndex, IAnnotationCodeGenerator)

Ottiene le chiamate api fluenti per configurare un indice.

GetFluentApiCalls(IKey, IAnnotationCodeGenerator)

Ottiene le chiamate api fluenti per configurare una chiave.

GetFluentApiCalls(IModel, IAnnotationCodeGenerator)

Ottiene le chiamate api fluenti per configurare un modello.

GetFluentApiCalls(IProperty, IAnnotationCodeGenerator)

Ottiene le chiamate api fluenti per configurare una proprietà.

GetFluentApiCalls(ISequence, IAnnotationCodeGenerator)

Ottiene le chiamate api fluenti per configurare una sequenza.

GetFluentApiCalls(IForeignKey, IAnnotationCodeGenerator, Boolean)

Ottiene le chiamate api fluenti per configurare una chiave esterna.

GetFluentApiCalls(IEntityType, IAnnotationCodeGenerator)

Ottiene le chiamate api fluenti per configurare un tipo di entità.

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

Parametri

entityType
IEntityType

Tipo di entità.

annotationCodeGenerator
IAnnotationCodeGenerator

Generatore di codice di annotazione del provider.

Restituisce

L'API fluente chiama.

Si applica a

GetFluentApiCalls(IIndex, IAnnotationCodeGenerator)

Ottiene le chiamate api fluenti per configurare un indice.

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

Parametri

index
IIndex

Indice.

annotationCodeGenerator
IAnnotationCodeGenerator

Generatore di codice di annotazione del provider.

Restituisce

L'API fluente chiama.

Si applica a

GetFluentApiCalls(IKey, IAnnotationCodeGenerator)

Ottiene le chiamate api fluenti per configurare una chiave.

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

Parametri

key
IKey

Chiave.

annotationCodeGenerator
IAnnotationCodeGenerator

Generatore di codice di annotazione del provider.

Restituisce

L'API fluente chiama.

Si applica a

GetFluentApiCalls(IModel, IAnnotationCodeGenerator)

Ottiene le chiamate api fluenti per configurare un modello.

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

Parametri

model
IModel

Modello.

annotationCodeGenerator
IAnnotationCodeGenerator

Generatore di codice di annotazione del provider.

Restituisce

L'API fluente chiama.

Si applica a

GetFluentApiCalls(IProperty, IAnnotationCodeGenerator)

Ottiene le chiamate api fluenti per configurare una proprietà.

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

Parametri

property
IProperty

Proprietà.

annotationCodeGenerator
IAnnotationCodeGenerator

Generatore di codice di annotazione del provider.

Restituisce

L'API fluente chiama.

Si applica a

GetFluentApiCalls(ISequence, IAnnotationCodeGenerator)

Ottiene le chiamate api fluenti per configurare una sequenza.

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

Parametri

sequence
ISequence

Sequenza.

annotationCodeGenerator
IAnnotationCodeGenerator

Generatore di codice di annotazione del provider.

Restituisce

L'API fluente chiama.

Si applica a

GetFluentApiCalls(IForeignKey, IAnnotationCodeGenerator, Boolean)

Ottiene le chiamate api fluenti per configurare una chiave esterna.

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

Parametri

foreignKey
IForeignKey

Chiave esterna.

annotationCodeGenerator
IAnnotationCodeGenerator

Generatore di codice di annotazione del provider.

useStrings
Boolean

Valore che indica wheter per l'uso di overload dell'API fluente stringa anziché quelli che accettano una funzione di accesso alla proprietà lambda.

Restituisce

L'API fluente chiama.

Si applica a