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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework