ICompiledModelScaffolder.ScaffoldModel Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
The options to use when generating code for the model.
Returns
The scaffolded model files.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework