Compartir a través de


MigrationsCodeGenerator.GetNamespaces Método

Definición

Sobrecargas

GetNamespaces(IModel)

Obtiene los espacios de nombres necesarios para .IModel

GetNamespaces(IEnumerable<MigrationOperation>)

Obtiene los espacios de nombres necesarios para una lista de MigrationOperation objetos.

GetNamespaces(IModel)

Source:
MigrationsCodeGenerator.cs
Source:
MigrationsCodeGenerator.cs
Source:
MigrationsCodeGenerator.cs
Source:
MigrationsCodeGenerator.cs
Source:
MigrationsCodeGenerator.cs
Source:
MigrationsCodeGenerator.cs
Source:
MigrationsCodeGenerator.cs
Source:
MigrationsCodeGenerator.cs
Source:
MigrationsCodeGenerator.cs

Obtiene los espacios de nombres necesarios para .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

Modelo.

Devoluciones

Espacios de nombres.

Se aplica a

GetNamespaces(IEnumerable<MigrationOperation>)

Source:
MigrationsCodeGenerator.cs
Source:
MigrationsCodeGenerator.cs
Source:
MigrationsCodeGenerator.cs
Source:
MigrationsCodeGenerator.cs
Source:
MigrationsCodeGenerator.cs
Source:
MigrationsCodeGenerator.cs
Source:
MigrationsCodeGenerator.cs
Source:
MigrationsCodeGenerator.cs
Source:
MigrationsCodeGenerator.cs

Obtiene los espacios de nombres necesarios para una 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>

Las operaciones.

Devoluciones

Espacios de nombres.

Se aplica a