EntityFrameworkServices Конструктор
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
public:
EntityFrameworkServices(Microsoft::VisualStudio::Web::CodeGeneration::Contracts::ProjectModel::IProjectContext ^ projectContext, Microsoft::VisualStudio::Web::CodeGeneration::DotNet::IApplicationInfo ^ applicationInfo, Microsoft::VisualStudio::Web::CodeGeneration::DotNet::ICodeGenAssemblyLoadContext ^ loader, Microsoft::VisualStudio::Web::CodeGeneration::IModelTypesLocator ^ modelTypesLocator, Microsoft::VisualStudio::Web::CodeGeneration::EntityFrameworkCore::IDbContextEditorServices ^ dbContextEditorServices, Microsoft::VisualStudio::Web::CodeGeneration::IPackageInstaller ^ packageInstaller, IServiceProvider ^ serviceProvider, Microsoft::CodeAnalysis::Workspace ^ workspace, Microsoft::VisualStudio::Web::CodeGeneration::IFileSystem ^ fileSystem, Microsoft::VisualStudio::Web::CodeGeneration::ILogger ^ logger);
public EntityFrameworkServices (Microsoft.VisualStudio.Web.CodeGeneration.Contracts.ProjectModel.IProjectContext projectContext, Microsoft.VisualStudio.Web.CodeGeneration.DotNet.IApplicationInfo applicationInfo, Microsoft.VisualStudio.Web.CodeGeneration.DotNet.ICodeGenAssemblyLoadContext loader, Microsoft.VisualStudio.Web.CodeGeneration.IModelTypesLocator modelTypesLocator, Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.IDbContextEditorServices dbContextEditorServices, Microsoft.VisualStudio.Web.CodeGeneration.IPackageInstaller packageInstaller, IServiceProvider serviceProvider, Microsoft.CodeAnalysis.Workspace workspace, Microsoft.VisualStudio.Web.CodeGeneration.IFileSystem fileSystem, Microsoft.VisualStudio.Web.CodeGeneration.ILogger logger);
new Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.EntityFrameworkServices : Microsoft.VisualStudio.Web.CodeGeneration.Contracts.ProjectModel.IProjectContext * Microsoft.VisualStudio.Web.CodeGeneration.DotNet.IApplicationInfo * Microsoft.VisualStudio.Web.CodeGeneration.DotNet.ICodeGenAssemblyLoadContext * Microsoft.VisualStudio.Web.CodeGeneration.IModelTypesLocator * Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.IDbContextEditorServices * Microsoft.VisualStudio.Web.CodeGeneration.IPackageInstaller * IServiceProvider * Microsoft.CodeAnalysis.Workspace * Microsoft.VisualStudio.Web.CodeGeneration.IFileSystem * Microsoft.VisualStudio.Web.CodeGeneration.ILogger -> Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.EntityFrameworkServices
Public Sub New (projectContext As IProjectContext, applicationInfo As IApplicationInfo, loader As ICodeGenAssemblyLoadContext, modelTypesLocator As IModelTypesLocator, dbContextEditorServices As IDbContextEditorServices, packageInstaller As IPackageInstaller, serviceProvider As IServiceProvider, workspace As Workspace, fileSystem As IFileSystem, logger As ILogger)
Параметры
- projectContext
- IProjectContext
- applicationInfo
- IApplicationInfo
- loader
- ICodeGenAssemblyLoadContext
- modelTypesLocator
- IModelTypesLocator
- dbContextEditorServices
- IDbContextEditorServices
- packageInstaller
- IPackageInstaller
- serviceProvider
- IServiceProvider
- workspace
- Workspace
- fileSystem
- IFileSystem
- logger
- ILogger
Применяется к
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по