ScaffoldingModelExtensions.GetFluentApiCalls Méthode

Définition

Surcharges

GetFluentApiCalls(IEntityType, IAnnotationCodeGenerator)

Obtient les appels d’API Fluent pour configurer un type d’entité.

GetFluentApiCalls(IIndex, IAnnotationCodeGenerator)

Obtient les appels d’API Fluent pour configurer un index.

GetFluentApiCalls(IKey, IAnnotationCodeGenerator)

Obtient les appels d’API Fluent pour configurer une clé.

GetFluentApiCalls(IModel, IAnnotationCodeGenerator)

Obtient les appels d’API Fluent pour configurer un modèle.

GetFluentApiCalls(IProperty, IAnnotationCodeGenerator)

Obtient les appels d’API Fluent pour configurer une propriété.

GetFluentApiCalls(ISequence, IAnnotationCodeGenerator)

Obtient les appels d’API Fluent pour configurer une séquence.

GetFluentApiCalls(IForeignKey, IAnnotationCodeGenerator, Boolean)

Obtient les appels d’API Fluent pour configurer une clé étrangère.

GetFluentApiCalls(IEntityType, IAnnotationCodeGenerator)

Obtient les appels d’API Fluent pour configurer un type d’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

Paramètres

entityType
IEntityType

Type d'entité.

annotationCodeGenerator
IAnnotationCodeGenerator

Générateur de code d’annotation du fournisseur.

Retours

Appels de l’API Fluent.

S’applique à

GetFluentApiCalls(IIndex, IAnnotationCodeGenerator)

Obtient les appels d’API Fluent pour configurer un index.

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

Paramètres

index
IIndex

Index.

annotationCodeGenerator
IAnnotationCodeGenerator

Générateur de code d’annotation du fournisseur.

Retours

Appels de l’API Fluent.

S’applique à

GetFluentApiCalls(IKey, IAnnotationCodeGenerator)

Obtient les appels d’API Fluent pour configurer une clé.

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

Paramètres

key
IKey

Clé.

annotationCodeGenerator
IAnnotationCodeGenerator

Générateur de code d’annotation du fournisseur.

Retours

Appels de l’API Fluent.

S’applique à

GetFluentApiCalls(IModel, IAnnotationCodeGenerator)

Obtient les appels d’API Fluent pour configurer un modèle.

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

Paramètres

model
IModel

Modèle.

annotationCodeGenerator
IAnnotationCodeGenerator

Générateur de code d’annotation du fournisseur.

Retours

Appels de l’API Fluent.

S’applique à

GetFluentApiCalls(IProperty, IAnnotationCodeGenerator)

Obtient les appels d’API Fluent pour configurer une propriété.

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

Paramètres

property
IProperty

Propriété.

annotationCodeGenerator
IAnnotationCodeGenerator

Générateur de code d’annotation du fournisseur.

Retours

Appels de l’API Fluent.

S’applique à

GetFluentApiCalls(ISequence, IAnnotationCodeGenerator)

Obtient les appels d’API Fluent pour configurer une séquence.

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

Paramètres

sequence
ISequence

Séquence.

annotationCodeGenerator
IAnnotationCodeGenerator

Générateur de code d’annotation du fournisseur.

Retours

Appels de l’API Fluent.

S’applique à

GetFluentApiCalls(IForeignKey, IAnnotationCodeGenerator, Boolean)

Obtient les appels d’API Fluent pour configurer une clé étrangère.

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

Paramètres

foreignKey
IForeignKey

Clé étrangère.

annotationCodeGenerator
IAnnotationCodeGenerator

Générateur de code d’annotation du fournisseur.

useStrings
Boolean

Valeur indiquant que wheter doit utiliser des surcharges d’API string fluent au lieu de celles qui prennent un accesseur de propriété lambda.

Retours

Appels de l’API Fluent.

S’applique à