Share via


IModelAnnotation Interface

Represents the model annotations that store feature-specific information about store elements.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
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

The IModelAnnotation type exposes the following members.

Properties

  Name Description
Public property AnnotationClass Gets the metadata class for the annotation.
Public property IsAttachedToStore Gets whether this annotation is attached to the model store.
Public property Model Gets the model reference. (Inherited from IModelEntity.)
Public property Name Gets or sets the name of this annotation.

Top

Methods

  Name Description
Public method Delete Deletes this instance from the model.
Public method GetElements Returns a list of the elements to which this annotation is attached.
Public method GetProperty<TProperty> Gets the specified property. (Inherited from IModelPropertyContainer.)
Public method GetRelationshipEntries Returns a list of the relationship entries to which this annotation is attached.
Public method IsDeleted Returns whether the object is deleted.
Public method SetProperty<TProperty> Sets the specified property. (Inherited from IModelPropertyContainer.)

Top

See Also

Reference

Microsoft.Data.Schema.SchemaModel Namespace

AnnotationClass

ModelAnnotation