Partilhar via


ICompiledModelCodeGenerator.GenerateModel Método

Definição

Gera código para metadados de modelo compilados.

public System.Collections.Generic.IReadOnlyCollection<Microsoft.EntityFrameworkCore.Scaffolding.ScaffoldedFile> GenerateModel (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Scaffolding.CompiledModelCodeGenerationOptions options);
abstract member GenerateModel : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Scaffolding.CompiledModelCodeGenerationOptions -> System.Collections.Generic.IReadOnlyCollection<Microsoft.EntityFrameworkCore.Scaffolding.ScaffoldedFile>
Public Function GenerateModel (model As IModel, options As CompiledModelCodeGenerationOptions) As IReadOnlyCollection(Of ScaffoldedFile)

Parâmetros

model
IModel

O modelo de origem.

options
CompiledModelCodeGenerationOptions

As opções a serem usadas durante a geração.

Retornos

Os arquivos de metadados do modelo gerado.

Aplica-se a