CSharpMigrationCodeGenerator.WriteClassEnd Method (String, IndentedTextWriter)

 

Generates the closing code for a class that was started with WriteClassStart.

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

[SuppressMessageAttribute("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", 
	MessageId = "namespace")]
protected virtual void WriteClassEnd(
	string namespace,
	IndentedTextWriter writer
)

Parameters

namespace
Type: System.String

Namespace that code should be generated in.

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

Text writer to add the generated code to.