Share via


ModelCodeGenerator Class

Definition

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