TemplatedModelGenerator Class
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.
Base type for model code generators that use templates.
public abstract class TemplatedModelGenerator : Microsoft.EntityFrameworkCore.Scaffolding.ModelCodeGenerator
type TemplatedModelGenerator = class
inherit ModelCodeGenerator
Public MustInherit Class TemplatedModelGenerator
Inherits ModelCodeGenerator
- Inheritance
Templated |
Initializes a new instance of the TemplatedModelGenerator class. |
Dependencies |
Dependencies for this service. (Inherited from ModelCodeGenerator) |
Language |
Gets the programming language supported by this service. |
Templates |
Gets the subdirectory under the project to look for templates in. |
Generate |
Generates code for a model. (Inherited from ModelCodeGenerator) |
Generate |
Generates code for a model. (Inherited from ModelCodeGenerator) |
Has |
Checks whether the templates required for this generator are present. |
Product | Versions |
---|---|
Entity Framework Core | 7.0, 8.0, 9.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: