DbContextEditorServices.AddNewContext(NewDbContextTemplateModel) 方法

定义

public:
 virtual System::Threading::Tasks::Task<Microsoft::CodeAnalysis::SyntaxTree ^> ^ AddNewContext(Microsoft::VisualStudio::Web::CodeGeneration::EntityFrameworkCore::NewDbContextTemplateModel ^ dbContextTemplateModel);
public System.Threading.Tasks.Task<Microsoft.CodeAnalysis.SyntaxTree> AddNewContext (Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.NewDbContextTemplateModel dbContextTemplateModel);
abstract member AddNewContext : Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.NewDbContextTemplateModel -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.SyntaxTree>
override this.AddNewContext : Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.NewDbContextTemplateModel -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.SyntaxTree>
Public Function AddNewContext (dbContextTemplateModel As NewDbContextTemplateModel) As Task(Of SyntaxTree)

参数

dbContextTemplateModel
NewDbContextTemplateModel

返回

实现

适用于