ModelCodeGenerator Class
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.
Used to generate code for a model.
public abstract class ModelCodeGenerator : Microsoft.EntityFrameworkCore.Scaffolding.IModelCodeGenerator
type ModelCodeGenerator = class
interface IModelCodeGenerator
interface ILanguageBasedService
Public MustInherit Class ModelCodeGenerator
Implements IModelCodeGenerator
- Inheritance
-
ModelCodeGenerator
- Derived
- Implements
Remarks
See EF Core design-time services for more information and examples.
Constructors
ModelCodeGenerator(ModelCodeGeneratorDependencies) |
Initializes a new instance of the ModelCodeGenerator class. |
Properties
Dependencies |
Dependencies for this service. |
Language |
Gets the programming language supported by this service. |
Methods
GenerateModel(IModel, ModelCodeGenerationOptions) |
Generates code for a model. |
GenerateModel(IModel, String, String, String, String, ModelCodeGenerationOptions) |
Generates code for a model. |
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