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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework