Compartilhar via


MigrationsCodeGenerator.GetNamespaces Método

Definição

Sobrecargas

GetNamespaces(IModel)

Obtém os namespaces necessários para um IModel.

GetNamespaces(IEnumerable<MigrationOperation>)

Obtém os namespaces necessários para uma lista de MigrationOperation objetos.

GetNamespaces(IModel)

Origem:
MigrationsCodeGenerator.cs
Origem:
MigrationsCodeGenerator.cs
Origem:
MigrationsCodeGenerator.cs
Origem:
MigrationsCodeGenerator.cs
Origem:
MigrationsCodeGenerator.cs
Origem:
MigrationsCodeGenerator.cs
Origem:
MigrationsCodeGenerator.cs
Origem:
MigrationsCodeGenerator.cs
Origem:
MigrationsCodeGenerator.cs

Obtém os namespaces necessários para um 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)

Parâmetros

model
IModel

O modelo.

Retornos

Os namespaces.

Aplica-se a

GetNamespaces(IEnumerable<MigrationOperation>)

Origem:
MigrationsCodeGenerator.cs
Origem:
MigrationsCodeGenerator.cs
Origem:
MigrationsCodeGenerator.cs
Origem:
MigrationsCodeGenerator.cs
Origem:
MigrationsCodeGenerator.cs
Origem:
MigrationsCodeGenerator.cs
Origem:
MigrationsCodeGenerator.cs
Origem:
MigrationsCodeGenerator.cs
Origem:
MigrationsCodeGenerator.cs

Obtém os namespaces necessários para uma lista de MigrationOperation objetos.

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)

Parâmetros

operations
IEnumerable<MigrationOperation>

As operações.

Retornos

Os namespaces.

Aplica-se a