Share via


ICompiledModelScaffolder.ScaffoldModel Method

Definition

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)

Parameters

model
IModel

The model.

outputDir
String

The output directory.

options
CompiledModelCodeGenerationOptions

The options to use when generating code for the model.

Returns

The scaffolded model files.

Applies to