IDbContextEditorServices.AddModelToContext(ModelType, ModelType) Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
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
Parametry
- dbContext
- ModelType
- modelType
- ModelType