Share via


CSharpMigrationCodeGenerator.WriteClassAttributes Method

Definition

Generates class attributes.

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)

Parameters

writer
IndentedTextWriter

Text writer to add the generated code to.

designer
Boolean

A value indicating if this class is being generated for a code-behind file.

Applies to