IEdmAnnotatable Interface

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents an EDM object that can have annotations.

Namespace:  Microsoft.Data.Edm
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
Public Interface IEdmAnnotatable
'Usage
Dim instance As IEdmAnnotatable
public interface IEdmAnnotatable
public interface class IEdmAnnotatable
type IEdmAnnotatable =  interface end
public interface IEdmAnnotatable

The IEdmAnnotatable type exposes the following members.

Properties

  Name Description
Public property ImmediateAnnotations Gets the annotations associated with this element.

Top

Methods

  Name Description
Public method GetAnnotation Retrieves an annotation value from an EDM element. Returns null if no annotation with the given name exists.
Public method SetAnnotation Sets an annotation value in an EDM element. If the value is null, no annotation is added and an existing annotation with the same name is removed.

Top

Extension Methods

  Name Description
Public Extension Method GetAnnotation(EdmTermName) Overloaded. (Defined by ExtensionMethods.)
Public Extension Method GetAnnotation< (Of < <' (T> ) > > )() () () () Overloaded. (Defined by ExtensionMethods.)
Public Extension Method GetAnnotation< (Of < <' (T> ) > > )(EdmTermName) Overloaded. (Defined by ExtensionMethods.)
Public Extension Method GetAnnotation< (Of < <' (T> ) > > )(String, String) Overloaded. (Defined by ExtensionMethods.)
Public Extension Method SetAnnotation(String, String, IEdmValue) Overloaded. Sets an annotation on the annotatable element. (Defined by ExtensionMethods.)
Public Extension Method SetAnnotation< (Of < <' (T> ) > > )(T) Overloaded. (Defined by ExtensionMethods.)
Public Extension Method SetAnnotation< (Of < <' (T> ) > > )(EdmTermName, T) Overloaded. (Defined by ExtensionMethods.)
Public Extension Method SetAnnotation< (Of < <' (T> ) > > )(String, String, T) Overloaded. (Defined by ExtensionMethods.)
Public Extension Method VocabularyAnnotations (Defined by ExtensionMethods.)

Top

See Also

Reference

Microsoft.Data.Edm Namespace