CSharpSnapshotGenerator.GenerateEntityTypeRelationships Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
GenerateEntityTypeRelationships(String, IEntityType, IndentedStringBuilder) |
Génère du code pour les relations d’un IEntityType. |
GenerateEntityTypeRelationships(String, IEntityType, IndentedStringBuilder) |
Génère du code pour les relations d’un IEntityType. |
GenerateEntityTypeRelationships(String, IEntityType, IndentedStringBuilder)
Génère du code pour les relations d’un IEntityType.
protected virtual void GenerateEntityTypeRelationships (string builderName, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
protected virtual void GenerateEntityTypeRelationships (string modelBuilderName, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateEntityTypeRelationships : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateEntityTypeRelationships : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
abstract member GenerateEntityTypeRelationships : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateEntityTypeRelationships : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateEntityTypeRelationships (builderName As String, entityType As IEntityType, stringBuilder As IndentedStringBuilder)
Protected Overridable Sub GenerateEntityTypeRelationships (modelBuilderName As String, entityType As IEntityType, stringBuilder As IndentedStringBuilder)
Paramètres
- builderNamemodelBuilderName
- String
Nom de la variable de générateur.
- entityType
- IEntityType
Type d'entité.
- stringBuilder
- IndentedStringBuilder
Le code du générateur est ajouté à.
S’applique à
GenerateEntityTypeRelationships(String, IEntityType, IndentedStringBuilder)
Génère du code pour les relations d’un IEntityType.
protected virtual void GenerateEntityTypeRelationships (string builderName, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateEntityTypeRelationships : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateEntityTypeRelationships : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateEntityTypeRelationships (builderName As String, entityType As IEntityType, stringBuilder As IndentedStringBuilder)
Paramètres
- builderName
- String
Nom de la variable de générateur.
- entityType
- IEntityType
Type d'entité.
- stringBuilder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
Le code du générateur est ajouté à.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour