다음을 통해 공유


MutableAnnotatableExtensions.GetAnnotation 메서드

정의

지정된 이름의 주석을 가져오고, 없는 경우 을 throw합니다.

public static Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation GetAnnotation (this Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable annotatable, string annotationName);
static member GetAnnotation : Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable * string -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
<Extension()>
Public Function GetAnnotation (annotatable As IMutableAnnotatable, annotationName As String) As IAnnotation

매개 변수

annotatable
IMutableAnnotatable

주석을 찾을 개체입니다.

annotationName
String

찾을 주석의 키입니다.

반환

지정된 이름의 주석입니다.

적용 대상