DbContextEditorServices.AddModelToContext(ModelType, ModelType) 方法

定义

public:
 virtual Microsoft::VisualStudio::Web::CodeGeneration::EntityFrameworkCore::EditSyntaxTreeResult ^ AddModelToContext(Microsoft::VisualStudio::Web::CodeGeneration::ModelType ^ dbContext, Microsoft::VisualStudio::Web::CodeGeneration::ModelType ^ modelType);
public Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.EditSyntaxTreeResult AddModelToContext (Microsoft.VisualStudio.Web.CodeGeneration.ModelType dbContext, Microsoft.VisualStudio.Web.CodeGeneration.ModelType modelType);
abstract member AddModelToContext : Microsoft.VisualStudio.Web.CodeGeneration.ModelType * Microsoft.VisualStudio.Web.CodeGeneration.ModelType -> Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.EditSyntaxTreeResult
override this.AddModelToContext : Microsoft.VisualStudio.Web.CodeGeneration.ModelType * Microsoft.VisualStudio.Web.CodeGeneration.ModelType -> Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.EditSyntaxTreeResult
Public Function AddModelToContext (dbContext As ModelType, modelType As ModelType) As EditSyntaxTreeResult

参数

dbContext
ModelType
modelType
ModelType

返回

实现

适用于