DbContextEditorServices.AddModelToContext(ModelType, ModelType) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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
Parametreler
- dbContext
- ModelType
- modelType
- ModelType