Partager via


MigrationsCodeGenerator.GetNamespaces Méthode

Définition

Surcharges

GetNamespaces(IModel)

Obtient les espaces de noms requis pour un IModel.

GetNamespaces(IEnumerable<MigrationOperation>)

Obtient les espaces de noms requis pour une liste d’objets MigrationOperation .

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

Obtient les espaces de noms requis pour un 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)

Paramètres

model
IModel

Modèle.

Retours

Espaces de noms.

S’applique à

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

Obtient les espaces de noms requis pour une liste d’objets 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)

Paramètres

operations
IEnumerable<MigrationOperation>

Opérations.

Retours

Espaces de noms.

S’applique à