EntityFrameworkServices.GetModelMetadata(String, ModelType, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
virtual System::Threading::Tasks::Task<Microsoft::VisualStudio::Web::CodeGeneration::EntityFrameworkCore::ContextProcessingResult ^> ^ GetModelMetadata(System::String ^ dbContextFullTypeName, Microsoft::VisualStudio::Web::CodeGeneration::ModelType ^ modelTypeSymbol, System::String ^ areaName);
public System.Threading.Tasks.Task<Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.ContextProcessingResult> GetModelMetadata(string dbContextFullTypeName, Microsoft.VisualStudio.Web.CodeGeneration.ModelType modelTypeSymbol, string areaName);
abstract member GetModelMetadata : string * Microsoft.VisualStudio.Web.CodeGeneration.ModelType * string -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.ContextProcessingResult>
override this.GetModelMetadata : string * Microsoft.VisualStudio.Web.CodeGeneration.ModelType * string -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.ContextProcessingResult>
Public Function GetModelMetadata (dbContextFullTypeName As String, modelTypeSymbol As ModelType, areaName As String) As Task(Of ContextProcessingResult)
參數
- dbContextFullTypeName
- String
- modelTypeSymbol
- ModelType
- areaName
- String