IDbContextEditorServices.AddModelToContext(ModelType, ModelType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
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
Public Function AddModelToContext (dbContext As ModelType, modelType As ModelType) As EditSyntaxTreeResult
Parameters
- dbContext
- ModelType
- modelType
- ModelType