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
返回
实现
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈