IAnnotationCodeGenerator.GenerateFluentApiCalls Méthode

Définition

Surcharges

GenerateFluentApiCalls(IModel, IDictionary<String,IAnnotation>)

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

GenerateFluentApiCalls(ITrigger, IDictionary<String,IAnnotation>)

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

GenerateFluentApiCalls(ISkipNavigation, IDictionary<String,IAnnotation>)

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

GenerateFluentApiCalls(ISequence, IDictionary<String,IAnnotation>)

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

GenerateFluentApiCalls(IRelationalPropertyOverrides, IDictionary<String,IAnnotation>)

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

GenerateFluentApiCalls(IProperty, IDictionary<String,IAnnotation>)

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

GenerateFluentApiCalls(IKey, IDictionary<String,IAnnotation>)

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

GenerateFluentApiCalls(INavigation, IDictionary<String,IAnnotation>)

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

GenerateFluentApiCalls(IForeignKey, IDictionary<String,IAnnotation>)

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

GenerateFluentApiCalls(IEntityTypeMappingFragment, IDictionary<String,IAnnotation>)

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

GenerateFluentApiCalls(IIndex, IDictionary<String,IAnnotation>)

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

GenerateFluentApiCalls(IEntityType, IDictionary<String,IAnnotation>)

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

GenerateFluentApiCalls(IComplexType, IDictionary<String,IAnnotation>)

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

GenerateFluentApiCalls(IComplexProperty, IDictionary<String,IAnnotation>)

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

GenerateFluentApiCalls(ICheckConstraint, IDictionary<String,IAnnotation>)

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

GenerateFluentApiCalls(IAnnotatable, IDictionary<String,IAnnotation>)

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

GenerateFluentApiCalls(IModel, IDictionary<String,IAnnotation>)

Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

C#
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls (Microsoft.EntityFrameworkCore.Metadata.IModel model, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);

Paramètres

model
IModel

Modèle auquel les annotations sont appliquées.

annotations
IDictionary<String,IAnnotation>

Ensemble d’annotations à partir desquelles générer des appels d’API Fluent.

Retours

S’applique à

Entity Framework Core 9.0 et autres versions
Produit Versions
Entity Framework Core 5.0, 6.0, 7.0, 8.0, 9.0

GenerateFluentApiCalls(ITrigger, IDictionary<String,IAnnotation>)

Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

C#
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls (Microsoft.EntityFrameworkCore.Metadata.ITrigger trigger, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);

Paramètres

trigger
ITrigger

Déclencheur auquel les annotations sont appliquées.

annotations
IDictionary<String,IAnnotation>

Ensemble d’annotations à partir desquelles générer des appels d’API Fluent.

Retours

S’applique à

Entity Framework Core 9.0 et autres versions
Produit Versions
Entity Framework Core 7.0, 8.0, 9.0

GenerateFluentApiCalls(ISkipNavigation, IDictionary<String,IAnnotation>)

Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

C#
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls (Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation navigation, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);

Paramètres

navigation
ISkipNavigation

Navigation skip à laquelle les annotations sont appliquées.

annotations
IDictionary<String,IAnnotation>

Ensemble d’annotations à partir desquelles générer des appels d’API Fluent.

Retours

S’applique à

Entity Framework Core 9.0 et autres versions
Produit Versions
Entity Framework Core 5.0, 6.0, 7.0, 8.0, 9.0

GenerateFluentApiCalls(ISequence, IDictionary<String,IAnnotation>)

Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

C#
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls (Microsoft.EntityFrameworkCore.Metadata.ISequence sequence, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);

Paramètres

sequence
ISequence

Séquence à laquelle les annotations sont appliquées.

annotations
IDictionary<String,IAnnotation>

Ensemble d’annotations à partir desquelles générer des appels d’API Fluent.

Retours

S’applique à

Entity Framework Core 9.0 et autres versions
Produit Versions
Entity Framework Core 7.0, 8.0, 9.0

GenerateFluentApiCalls(IRelationalPropertyOverrides, IDictionary<String,IAnnotation>)

Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

C#
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls (Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides overrides, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);

Paramètres

overrides
IRelationalPropertyOverrides

La propriété remplace les annotations auxquelles les annotations sont appliquées.

annotations
IDictionary<String,IAnnotation>

Ensemble d’annotations à partir desquelles générer des appels d’API Fluent.

Retours

S’applique à

Entity Framework Core 9.0 et autres versions
Produit Versions
Entity Framework Core 7.0, 8.0, 9.0

GenerateFluentApiCalls(IProperty, IDictionary<String,IAnnotation>)

Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

C#
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls (Microsoft.EntityFrameworkCore.Metadata.IProperty property, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);

Paramètres

property
IProperty

Propriété à laquelle les annotations sont appliquées.

annotations
IDictionary<String,IAnnotation>

Ensemble d’annotations à partir desquelles générer des appels d’API Fluent.

Retours

S’applique à

Entity Framework Core 9.0 et autres versions
Produit Versions
Entity Framework Core 5.0, 6.0, 7.0, 8.0, 9.0

GenerateFluentApiCalls(IKey, IDictionary<String,IAnnotation>)

Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

C#
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls (Microsoft.EntityFrameworkCore.Metadata.IKey key, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);

Paramètres

key
IKey

Clé à laquelle les annotations sont appliquées.

annotations
IDictionary<String,IAnnotation>

Ensemble d’annotations à partir desquelles générer des appels d’API Fluent.

Retours

S’applique à

Entity Framework Core 9.0 et autres versions
Produit Versions
Entity Framework Core 5.0, 6.0, 7.0, 8.0, 9.0

GenerateFluentApiCalls(INavigation, IDictionary<String,IAnnotation>)

Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

C#
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls (Microsoft.EntityFrameworkCore.Metadata.INavigation navigation, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);

Paramètres

navigation
INavigation

Navigation à laquelle les annotations sont appliquées.

annotations
IDictionary<String,IAnnotation>

Ensemble d’annotations à partir desquelles générer des appels d’API Fluent.

Retours

S’applique à

Entity Framework Core 9.0 et autres versions
Produit Versions
Entity Framework Core 5.0, 6.0, 7.0, 8.0, 9.0

GenerateFluentApiCalls(IForeignKey, IDictionary<String,IAnnotation>)

Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

C#
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);

Paramètres

foreignKey
IForeignKey

Clé étrangère à laquelle les annotations sont appliquées.

annotations
IDictionary<String,IAnnotation>

Ensemble d’annotations à partir desquelles générer des appels d’API Fluent.

Retours

S’applique à

Entity Framework Core 9.0 et autres versions
Produit Versions
Entity Framework Core 5.0, 6.0, 7.0, 8.0, 9.0

GenerateFluentApiCalls(IEntityTypeMappingFragment, IDictionary<String,IAnnotation>)

Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

C#
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls (Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment fragment, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);

Paramètres

fragment
IEntityTypeMappingFragment

Fragment de mappage d’entité auquel les annotations sont appliquées.

annotations
IDictionary<String,IAnnotation>

Ensemble d’annotations à partir desquelles générer des appels d’API Fluent.

Retours

S’applique à

Entity Framework Core 9.0 et autres versions
Produit Versions
Entity Framework Core 7.0, 8.0, 9.0

GenerateFluentApiCalls(IIndex, IDictionary<String,IAnnotation>)

Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

C#
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls (Microsoft.EntityFrameworkCore.Metadata.IIndex index, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);

Paramètres

index
IIndex

Index auquel les annotations sont appliquées.

annotations
IDictionary<String,IAnnotation>

Ensemble d’annotations à partir desquelles générer des appels d’API Fluent.

Retours

S’applique à

Entity Framework Core 9.0 et autres versions
Produit Versions
Entity Framework Core 5.0, 6.0, 7.0, 8.0, 9.0

GenerateFluentApiCalls(IEntityType, IDictionary<String,IAnnotation>)

Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

C#
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);

Paramètres

entityType
IEntityType

Type d’entité auquel les annotations sont appliquées.

annotations
IDictionary<String,IAnnotation>

Ensemble d’annotations à partir desquelles générer des appels d’API Fluent.

Retours

S’applique à

Entity Framework Core 9.0 et autres versions
Produit Versions
Entity Framework Core 5.0, 6.0, 7.0, 8.0, 9.0

GenerateFluentApiCalls(IComplexType, IDictionary<String,IAnnotation>)

Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

C#
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls (Microsoft.EntityFrameworkCore.Metadata.IComplexType complexType, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);

Paramètres

complexType
IComplexType

Type d’entité auquel les annotations sont appliquées.

annotations
IDictionary<String,IAnnotation>

Ensemble d’annotations à partir desquelles générer des appels d’API Fluent.

Retours

S’applique à

Entity Framework Core 9.0 et Entity Framework Core 8.0
Produit Versions
Entity Framework Core 8.0, 9.0

GenerateFluentApiCalls(IComplexProperty, IDictionary<String,IAnnotation>)

Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

C#
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls (Microsoft.EntityFrameworkCore.Metadata.IComplexProperty complexProperty, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);

Paramètres

complexProperty
IComplexProperty

Propriété complexe à laquelle les annotations sont appliquées.

annotations
IDictionary<String,IAnnotation>

Ensemble d’annotations à partir desquelles générer des appels d’API Fluent.

Retours

S’applique à

Entity Framework Core 9.0 et Entity Framework Core 8.0
Produit Versions
Entity Framework Core 8.0, 9.0

GenerateFluentApiCalls(ICheckConstraint, IDictionary<String,IAnnotation>)

Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

C#
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls (Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint checkConstraint, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);

Paramètres

checkConstraint
ICheckConstraint

Contrainte case activée à laquelle les annotations sont appliquées.

annotations
IDictionary<String,IAnnotation>

Ensemble d’annotations à partir desquelles générer des appels d’API Fluent.

Retours

S’applique à

Entity Framework Core 9.0 et autres versions
Produit Versions
Entity Framework Core 7.0, 8.0, 9.0

GenerateFluentApiCalls(IAnnotatable, IDictionary<String,IAnnotation>)

Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs
Source:
IAnnotationCodeGenerator.cs

Pour les annotations données qui ont des appels d’API Fluent correspondants, retourne ces appels d’API Fluent et supprime les annotations.

C#
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls (Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable annotatable, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);

Paramètres

annotatable
IAnnotatable

Annotatable auquel les annotations sont appliquées.

annotations
IDictionary<String,IAnnotation>

Ensemble d’annotations à partir desquelles générer des appels d’API Fluent.

Retours

S’applique à

Entity Framework Core 9.0 et autres versions
Produit Versions
Entity Framework Core 6.0, 7.0, 8.0, 9.0