다음을 통해 공유


ICodeModelService.GetModelMetadata(ModelType) 메서드

정의

Datacontext를 사용하지 않고 지정된 모델에 대한 메타데이터를 가져옵니다. datacontext가 없으면 메타데이터는 탐색/기본 키로 구성되지 않습니다.

public:
 System::Threading::Tasks::Task<Microsoft::VisualStudio::Web::CodeGeneration::EntityFrameworkCore::ContextProcessingResult ^> ^ GetModelMetadata(Microsoft::VisualStudio::Web::CodeGeneration::ModelType ^ modelType);
public System.Threading.Tasks.Task<Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.ContextProcessingResult> GetModelMetadata (Microsoft.VisualStudio.Web.CodeGeneration.ModelType modelType);
abstract member GetModelMetadata : Microsoft.VisualStudio.Web.CodeGeneration.ModelType -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.ContextProcessingResult>
Public Function GetModelMetadata (modelType As ModelType) As Task(Of ContextProcessingResult)

매개 변수

modelType
ModelType

EF 메타데이터의 모델 형식을 반환해야 합니다.

반환

ContextProcessingResult를 반환합니다.

적용 대상