CSharpSnapshotGenerator.GenerateBaseType 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
GenerateBaseType(String, IEntityType, IndentedStringBuilder) |
Génère du code pour le type de base d’un IEntityType. |
GenerateBaseType(IEntityType, IndentedStringBuilder) | |
GenerateBaseType(String, IEntityType, IndentedStringBuilder) |
Génère du code pour le type de base d’un IEntityType. |
GenerateBaseType(String, IEntityType, IndentedStringBuilder)
Génère du code pour le type de base d’un IEntityType.
protected virtual void GenerateBaseType (string builderName, Microsoft.EntityFrameworkCore.Metadata.IEntityType baseType, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
protected virtual void GenerateBaseType (string entityTypeBuilderName, Microsoft.EntityFrameworkCore.Metadata.IEntityType? baseType, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateBaseType : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateBaseType : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
abstract member GenerateBaseType : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateBaseType : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateBaseType (builderName As String, baseType As IEntityType, stringBuilder As IndentedStringBuilder)
Protected Overridable Sub GenerateBaseType (entityTypeBuilderName As String, baseType As IEntityType, stringBuilder As IndentedStringBuilder)
Paramètres
- builderNameentityTypeBuilderName
- String
Nom de la variable de générateur.
- baseType
- IEntityType
Type entité de base.
- stringBuilder
- IndentedStringBuilder
Le code du générateur est ajouté à.
S’applique à
GenerateBaseType(IEntityType, IndentedStringBuilder)
protected virtual void GenerateBaseType (Microsoft.EntityFrameworkCore.Metadata.IEntityType baseType, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateBaseType : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateBaseType : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateBaseType (baseType As IEntityType, stringBuilder As IndentedStringBuilder)
Paramètres
- baseType
- IEntityType
- stringBuilder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
S’applique à
GenerateBaseType(String, IEntityType, IndentedStringBuilder)
Génère du code pour le type de base d’un IEntityType.
protected virtual void GenerateBaseType (string builderName, Microsoft.EntityFrameworkCore.Metadata.IEntityType baseType, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateBaseType : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateBaseType : string * Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateBaseType (builderName As String, baseType As IEntityType, stringBuilder As IndentedStringBuilder)
Paramètres
- builderName
- String
Nom de la variable de générateur.
- baseType
- IEntityType
Type entité de base.
- 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