IModelAnnotation 인터페이스

저장소 요소에 대한 기능 관련 정보를 저장하는 모델 주석을 나타냅니다.

네임스페이스:  Microsoft.Data.Schema.SchemaModel
어셈블리:  Microsoft.Data.Schema(Microsoft.Data.Schema.dll)

구문

‘선언
Public Interface IModelAnnotation _
    Inherits IModelPropertyContainer, IModelEntity
public interface IModelAnnotation : IModelPropertyContainer, 
    IModelEntity
public interface class IModelAnnotation : IModelPropertyContainer, 
    IModelEntity
type IModelAnnotation =  
    interface
        interface IModelPropertyContainer
        interface IModelEntity
    end
public interface IModelAnnotation extends IModelPropertyContainer, IModelEntity

IModelAnnotation 형식에서는 다음과 같은 멤버를 노출합니다.

속성

  이름 설명
Public 속성 AnnotationClass 주석의 메타데이터 클래스를 가져옵니다.
Public 속성 IsAttachedToStore 이 주석이 모델 저장소에 연결되어 있는지 여부를 나타내는 값을 가져옵니다.
Public 속성 Model 모델 참조를 가져옵니다. (IModelEntity에서 상속됨)
Public 속성 Name 이 주석의 이름을 가져오거나 설정합니다.

위쪽

메서드

  이름 설명
Public 메서드 Delete 모델에서 이 인스턴스를 삭제합니다.
Public 메서드 GetElements 이 주석이 연결되어 있는 요소의 목록을 반환합니다.
Public 메서드 GetProperty<TProperty> 지정한 속성을 가져옵니다. (IModelPropertyContainer에서 상속됨)
Public 메서드 GetRelationshipEntries 이 주석이 연결되어 있는 관계 항목의 목록을 반환합니다.
Public 메서드 IsDeleted 개체가 삭제되는지 여부를 나타내는 값을 반환합니다.
Public 메서드 SetProperty<TProperty> 지정된 속성을 설정합니다. (IModelPropertyContainer에서 상속됨)

위쪽

참고 항목

참조

Microsoft.Data.Schema.SchemaModel 네임스페이스

AnnotationClass

ModelAnnotation