VisualBasicMigrationCodeGenerator.WriteClassStart メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
WriteClassStart(String, String, IndentedTextWriter, String, Boolean, IEnumerable<String>) |
ステートメントとクラス定義を使用して名前空間を生成します。 |
WriteClassStart(String, String, IndentedTextWriter, String, Boolean) |
ステートメントとクラス定義を使用して名前空間を生成します。 |
WriteClassStart(String, String, IndentedTextWriter, String, Boolean, IEnumerable<String>)
ステートメントとクラス定義を使用して名前空間を生成します。
protected virtual void WriteClassStart (string namespace, string className, System.Data.Entity.Migrations.Utilities.IndentedTextWriter writer, string base, bool designer = false, System.Collections.Generic.IEnumerable<string> namespaces = null);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId="base")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId="namespace")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]
protected virtual void WriteClassStart (string namespace, string className, System.Data.Entity.Migrations.Utilities.IndentedTextWriter writer, string base, bool designer = false, System.Collections.Generic.IEnumerable<string> namespaces = null);
abstract member WriteClassStart : string * string * System.Data.Entity.Migrations.Utilities.IndentedTextWriter * string * bool * seq<string> -> unit
override this.WriteClassStart : string * string * System.Data.Entity.Migrations.Utilities.IndentedTextWriter * string * bool * seq<string> -> unit
Protected Overridable Sub WriteClassStart (namespace As String, className As String, writer As IndentedTextWriter, base As String, Optional designer As Boolean = false, Optional namespaces As IEnumerable(Of String) = null)
パラメーター
- namespace
- String
コードを生成する必要がある名前空間。
- className
- String
生成する必要があるクラスの名前。
- writer
- IndentedTextWriter
生成されたコードを追加するテキスト ライター。
- base
- String
生成されたクラスの基本クラス。
- designer
- Boolean
分離コード ファイルに対してこのクラスが生成されているかどうかを示す値。
- namespaces
- IEnumerable<String>
Imports ディレクティブが追加される名前空間。 null の場合、GetDefaultNamespaces から返される名前空間が使用されます。
- 属性
適用対象
WriteClassStart(String, String, IndentedTextWriter, String, Boolean)
ステートメントとクラス定義を使用して名前空間を生成します。
protected virtual void WriteClassStart (string namespace, string className, System.Data.Entity.Migrations.Utilities.IndentedTextWriter writer, string base, bool designer = false);
abstract member WriteClassStart : string * string * System.Data.Entity.Migrations.Utilities.IndentedTextWriter * string * bool -> unit
override this.WriteClassStart : string * string * System.Data.Entity.Migrations.Utilities.IndentedTextWriter * string * bool -> unit
Protected Overridable Sub WriteClassStart (namespace As String, className As String, writer As IndentedTextWriter, base As String, Optional designer As Boolean = false)
パラメーター
- namespace
- String
コードを生成する必要がある名前空間。
- className
- String
生成する必要があるクラスの名前。
- writer
- IndentedTextWriter
生成されたコードを追加するテキスト ライター。
- base
- String
生成されたクラスの基本クラス。
- designer
- Boolean
分離コード ファイルに対してこのクラスが生成されているかどうかを示す値。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Entity Framework