CSharpSnapshotGenerator.GeneratePropertyOverridesAnnotations 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.
Génère du code pour les annotations de remplacement de propriété.
protected virtual void GeneratePropertyOverridesAnnotations(string propertyBuilderName, Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides overrides, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GeneratePropertyOverridesAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GeneratePropertyOverridesAnnotations : string * Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GeneratePropertyOverridesAnnotations (propertyBuilderName As String, overrides As IRelationalPropertyOverrides, stringBuilder As IndentedStringBuilder)
Paramètres
- propertyBuilderName
- String
Nom de la variable de générateur.
- overrides
- IRelationalPropertyOverrides
Remplacements.
- stringBuilder
- IndentedStringBuilder
Le code du générateur est ajouté à.