NewDbContextTemplateModel(String, ModelType, ModelType) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
NewDbContextTemplateModel(System::String ^ dbContextName, Microsoft::VisualStudio::Web::CodeGeneration::ModelType ^ modelType, Microsoft::VisualStudio::Web::CodeGeneration::ModelType ^ programType);
public NewDbContextTemplateModel(string dbContextName, Microsoft.VisualStudio.Web.CodeGeneration.ModelType modelType, Microsoft.VisualStudio.Web.CodeGeneration.ModelType programType);
new Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.NewDbContextTemplateModel : string * Microsoft.VisualStudio.Web.CodeGeneration.ModelType * Microsoft.VisualStudio.Web.CodeGeneration.ModelType -> Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.NewDbContextTemplateModel
Public Sub New (dbContextName As String, modelType As ModelType, programType As ModelType)
參數
- dbContextName
- String
- modelType
- ModelType
- programType
- ModelType