Share via


IEdmDirectValueAnnotationsManager Interface

Definition

Manages getting and setting direct annotations on EDM elements.

public interface IEdmDirectValueAnnotationsManager
type IEdmDirectValueAnnotationsManager = interface
Public Interface IEdmDirectValueAnnotationsManager
Derived

Methods

GetAnnotationValue(IEdmElement, String, String)

Retrieves an annotation value for an EDM element. Returns null if no annotation with the given name exists for the given element.

GetAnnotationValues(IEnumerable<IEdmDirectValueAnnotationBinding>)

Retrieves a set of annotation values. For each requested value, returns null if no annotation with the given name exists for the given element.

GetDirectValueAnnotations(IEdmElement)

Gets annotations associated with an element.

SetAnnotationValue(IEdmElement, String, String, Object)

Sets an annotation value for an EDM element. If the value is null, no annotation is added and an existing annotation with the same name is removed.

SetAnnotationValues(IEnumerable<IEdmDirectValueAnnotationBinding>)

Sets a set of annotation values. If a supplied value is null, no annotation is added and an existing annotation with the same name is removed.

Applies to