次の方法で共有


MigrationCodeGenerator.GetNamespaces メソッド

定義

指定した操作によって生成されたコードを処理するために、"using" または "Imports" ディレクティブとして出力する必要がある名前空間を取得します。

protected virtual System.Collections.Generic.IEnumerable<string> GetNamespaces (System.Collections.Generic.IEnumerable<System.Data.Entity.Migrations.Model.MigrationOperation> operations);
abstract member GetNamespaces : seq<System.Data.Entity.Migrations.Model.MigrationOperation> -> seq<string>
override this.GetNamespaces : seq<System.Data.Entity.Migrations.Model.MigrationOperation> -> seq<string>
Protected Overridable Function GetNamespaces (operations As IEnumerable(Of MigrationOperation)) As IEnumerable(Of String)

パラメーター

operations
IEnumerable<MigrationOperation>

コードが生成される操作。

戻り値

名前空間名の順序付きリスト。

適用対象