CSharpMigrationCodeGenerator.WriteClassAttributes Method (IndentedTextWriter, Boolean)

 

Generates class attributes.

Namespace:   System.Data.Entity.Migrations.Design
Assembly:  EntityFramework (in EntityFramework.dll)

protected virtual void WriteClassAttributes(
	IndentedTextWriter writer,
	bool designer
)

Parameters

writer
Type: System.Data.Entity.Migrations.Utilities.IndentedTextWriter

Text writer to add the generated code to.

designer
Type: System.Boolean

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