• IModelCodeGenerator
    • GenerateModel(IModel, String, String, String, String, ModelCodeGenerationOptions)

GenerateModel(IModel, String, String, String, String, ModelCodeGenerationOptions) Method

// .NET Core 2.1 + Platform Extensions
// Microsoft.EntityFrameworkCore.Design, Version=2.1.0.0, PublicKeyToken=adb9793829ddae60

namespace Microsoft.EntityFrameworkCore.Scaffolding
{
    public interface IModelCodeGenerator : ILanguageBasedService
    {
        ScaffoldedModel GenerateModel(IModel model, string @namespace, string contextDir, string contextName, string connectionString, ModelCodeGenerationOptions options);
    }
}

Usage

Metadata

ID
M:Microsoft.EntityFrameworkCore.Scaffolding.IModelCodeGenerator.GenerateModel(Microsoft.EntityFrameworkCore.Metadata.IModel,System.String,System.String,System.String,System.String,Microsoft.EntityFrameworkCore.Scaffolding.ModelCodeGenerationOptions)

Declarations

Platform Version Assembly
.NET Core + Platform Extensions 2.1 Microsoft.EntityFrameworkCore.Design, Version=2.1.0.0, PublicKeyToken=adb9793829ddae60
2.2 Microsoft.EntityFrameworkCore.Design, Version=2.2.0.0, PublicKeyToken=adb9793829ddae60