DbContextEditorServices 构造函数

定义

public:
 DbContextEditorServices(Microsoft::VisualStudio::Web::CodeGeneration::Contracts::ProjectModel::IProjectContext ^ projectContext, Microsoft::VisualStudio::Web::CodeGeneration::DotNet::IApplicationInfo ^ applicationInfo, Microsoft::VisualStudio::Web::CodeGeneration::IFilesLocator ^ filesLocator, Microsoft::VisualStudio::Web::CodeGeneration::Templating::ITemplating ^ templatingService, Microsoft::VisualStudio::Web::CodeGeneration::EntityFrameworkCore::IConnectionStringsWriter ^ connectionStringsWriter);
public DbContextEditorServices (Microsoft.VisualStudio.Web.CodeGeneration.Contracts.ProjectModel.IProjectContext projectContext, Microsoft.VisualStudio.Web.CodeGeneration.DotNet.IApplicationInfo applicationInfo, Microsoft.VisualStudio.Web.CodeGeneration.IFilesLocator filesLocator, Microsoft.VisualStudio.Web.CodeGeneration.Templating.ITemplating templatingService, Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.IConnectionStringsWriter connectionStringsWriter);
new Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.DbContextEditorServices : Microsoft.VisualStudio.Web.CodeGeneration.Contracts.ProjectModel.IProjectContext * Microsoft.VisualStudio.Web.CodeGeneration.DotNet.IApplicationInfo * Microsoft.VisualStudio.Web.CodeGeneration.IFilesLocator * Microsoft.VisualStudio.Web.CodeGeneration.Templating.ITemplating * Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.IConnectionStringsWriter -> Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.DbContextEditorServices
Public Sub New (projectContext As IProjectContext, applicationInfo As IApplicationInfo, filesLocator As IFilesLocator, templatingService As ITemplating, connectionStringsWriter As IConnectionStringsWriter)

参数

projectContext
IProjectContext
applicationInfo
IApplicationInfo
filesLocator
IFilesLocator
templatingService
ITemplating
connectionStringsWriter
IConnectionStringsWriter

适用于