VisualBasicMigrationCodeGenerator.WriteClassEnd 方法

定义

为使用 WriteClassStart 启动的类生成结束代码。

protected virtual void WriteClassEnd (string namespace, System.Data.Entity.Migrations.Utilities.IndentedTextWriter writer);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId="namespace")]
protected virtual void WriteClassEnd (string namespace, System.Data.Entity.Migrations.Utilities.IndentedTextWriter writer);
abstract member WriteClassEnd : string * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
override this.WriteClassEnd : string * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
Protected Overridable Sub WriteClassEnd (namespace As String, writer As IndentedTextWriter)

参数

namespace
String

应在中生成代码的命名空间。

writer
IndentedTextWriter

要向其添加生成的代码的文本编写器。

属性

适用于