Share via


IEdmStructuralProperty Interface

Definition

Represents an EDM structural (i.e. non-navigation) property.

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

Properties

DeclaringType

Gets the type that this property belongs to.

(Inherited from IEdmProperty)
DefaultValueString

Gets the default value of this property.

Name

Gets the name of this element.

(Inherited from IEdmNamedElement)
PropertyKind

Gets the kind of this property.

(Inherited from IEdmProperty)
Type

Gets the type of this property.

(Inherited from IEdmProperty)

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.

IsKey(IEdmProperty)

Determines whether the specified property is a key for its contained type.

Location(IEdmElement)

Gets the location of this element.

VocabularyAnnotations(IEdmVocabularyAnnotatable, IEdmModel)

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

ToTraceString(IEdmProperty)

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