Share via


IEdmTerm Interface

Definition

Represents an EDM term.

public interface IEdmTerm : Microsoft.OData.Edm.IEdmSchemaElement
type IEdmTerm = interface
    interface IEdmSchemaElement
    interface IEdmNamedElement
    interface IEdmElement
    interface IEdmVocabularyAnnotatable
Public Interface IEdmTerm
Implements IEdmSchemaElement
Derived
Implements

Properties

AppliesTo

Gets the AppliesTo of this term.

DefaultValue

Gets the DefaultValue of this term.

Name

Gets the name of this element.

(Inherited from IEdmNamedElement)
Namespace

Gets the namespace this schema element belongs to.

(Inherited from IEdmSchemaElement)
SchemaElementKind

Gets the kind of this schema element.

(Inherited from IEdmSchemaElement)
Type

Gets the type of this term.

Extension Methods

GetSymbolicString(IEdmVocabularyAnnotatable)

Gets the symbolic string of an annotated element. In the next breaking change, it's better to add a property into IEdmVocabularyAnnotatable.

FullName(IEdmSchemaElement)

Gets the full name of the element.

Location(IEdmElement)

Gets the location of this element.

ShortQualifiedName(IEdmSchemaElement)

Gets the Short Qualified name of the element.

VocabularyAnnotations(IEdmVocabularyAnnotatable, IEdmModel)

Gets an annotatable element's vocabulary annotations as seen from a particular model.

ToTraceString(IEdmSchemaElement)

Returns the text representation of the current object.

Errors(IEdmElement)

Gets the errors, if any, that belong to this element or elements that this element contains. For example errors for a structural type include the errors of the type itself and errors of its declared properties. The method does not analyze elements referenced by this element. For example errors of a property do not include errors from its type.

IsBad(IEdmElement)

Returns true if this element contains errors returned by the Errors(IEdmElement) method.

Applies to