CSharpMigrationCodeGenerator.WriteClassAttributes 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 des attributs de classe.
protected virtual void WriteClassAttributes(System.Data.Entity.Migrations.Utilities.IndentedTextWriter writer, bool designer);
abstract member WriteClassAttributes : System.Data.Entity.Migrations.Utilities.IndentedTextWriter * bool -> unit
override this.WriteClassAttributes : System.Data.Entity.Migrations.Utilities.IndentedTextWriter * bool -> unit
Protected Overridable Sub WriteClassAttributes (writer As IndentedTextWriter, designer As Boolean)
Paramètres
- writer
- IndentedTextWriter
Enregistreur de texte à lequel ajouter le code généré.
- designer
- Boolean
Valeur indiquant si cette classe est générée pour un fichier code-behind.