共用方式為


VisualBasicMigrationCodeGenerator.WriteClassAttributes 方法

定義

產生類別屬性。

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)

參數

writer
IndentedTextWriter

要加入所產生程式碼的文字寫入器。

designer
Boolean

值,指出是否為程式碼後置檔案產生這個類別。

適用於