Condividi tramite


MigrationsCodeGenerator.GetNamespaces Metodo

Definizione

Overload

GetNamespaces(IModel)

Ottiene gli spazi dei nomi necessari per un IModeloggetto .

GetNamespaces(IEnumerable<MigrationOperation>)

Ottiene gli spazi dei nomi necessari per un elenco di MigrationOperation oggetti.

GetNamespaces(IModel)

Origine:
MigrationsCodeGenerator.cs
Origine:
MigrationsCodeGenerator.cs
Origine:
MigrationsCodeGenerator.cs
Origine:
MigrationsCodeGenerator.cs
Origine:
MigrationsCodeGenerator.cs
Origine:
MigrationsCodeGenerator.cs
Origine:
MigrationsCodeGenerator.cs
Origine:
MigrationsCodeGenerator.cs
Origine:
MigrationsCodeGenerator.cs

Ottiene gli spazi dei nomi necessari per un IModeloggetto .

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)

Parametri

model
IModel

Modello.

Restituisce

Spazi dei nomi.

Si applica a

GetNamespaces(IEnumerable<MigrationOperation>)

Origine:
MigrationsCodeGenerator.cs
Origine:
MigrationsCodeGenerator.cs
Origine:
MigrationsCodeGenerator.cs
Origine:
MigrationsCodeGenerator.cs
Origine:
MigrationsCodeGenerator.cs
Origine:
MigrationsCodeGenerator.cs
Origine:
MigrationsCodeGenerator.cs
Origine:
MigrationsCodeGenerator.cs
Origine:
MigrationsCodeGenerator.cs

Ottiene gli spazi dei nomi necessari per un elenco di MigrationOperation oggetti.

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)

Parametri

operations
IEnumerable<MigrationOperation>

Operazioni.

Restituisce

Spazi dei nomi.

Si applica a