Partilhar via


ICompiledModelScaffolder.ScaffoldModel Método

Definição

Scaffolds a compiled model from a model and saves it to disk.

public System.Collections.Generic.IReadOnlyList<string> ScaffoldModel (Microsoft.EntityFrameworkCore.Metadata.IModel model, string outputDir, Microsoft.EntityFrameworkCore.Scaffolding.CompiledModelCodeGenerationOptions options);
abstract member ScaffoldModel : Microsoft.EntityFrameworkCore.Metadata.IModel * string * Microsoft.EntityFrameworkCore.Scaffolding.CompiledModelCodeGenerationOptions -> System.Collections.Generic.IReadOnlyList<string>
Public Function ScaffoldModel (model As IModel, outputDir As String, options As CompiledModelCodeGenerationOptions) As IReadOnlyList(Of String)

Parâmetros

model
IModel

O modelo.

outputDir
String

O diretório de saída.

options
CompiledModelCodeGenerationOptions

As opções a serem usadas ao gerar código para o modelo.

Retornos

Os arquivos de modelo com scaffolded.

Aplica-se a