DbContextEditorServices 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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