MigrationsCodeGenerator.GetNamespaces Yöntem

Tanım

Aşırı Yüklemeler

GetNamespaces(IModel)

İçin gereken ad alanlarını alır IModel .

GetNamespaces(IEnumerable<MigrationOperation>)

Bir nesne listesi için gereken ad alanlarını alır MigrationOperation .

GetNamespaces(IModel)

İçin gereken ad alanlarını alır IModel .

protected virtual System.Collections.Generic.IEnumerable<string> GetNamespaces (Microsoft.EntityFrameworkCore.Metadata.IModel model);
abstract member GetNamespaces : Microsoft.EntityFrameworkCore.Metadata.IModel -> seq<string>
override this.GetNamespaces : Microsoft.EntityFrameworkCore.Metadata.IModel -> seq<string>
Protected Overridable Function GetNamespaces (model As IModel) As IEnumerable(Of String)

Parametreler

model
IModel

Model.

Döndürülenler

IEnumerable<String>

Ad alanları.

Şunlara uygulanır

GetNamespaces(IEnumerable<MigrationOperation>)

Bir nesne listesi için gereken ad alanlarını alır MigrationOperation .

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

Parametreler

operations
IEnumerable<MigrationOperation>

İşlemler.

Döndürülenler

IEnumerable<String>

Ad alanları.

Şunlara uygulanır