EdmStructuralProperty Class

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

Inheritance Hierarchy

System.Object
  Microsoft.Data.Edm.Library.EdmElement
    Microsoft.Data.Edm.Library.EdmNamedElement
      Microsoft.Data.Edm.Library.EdmProperty
        Microsoft.Data.Edm.Library.EdmStructuralProperty

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

Syntax

'Declaration
Public Class EdmStructuralProperty _
    Inherits EdmProperty _
    Implements IEdmStructuralProperty, IEdmProperty, IEdmNamedElement, IEdmVocabularyAnnotatable,  _
    IEdmElement
'Usage
Dim instance As EdmStructuralProperty
public class EdmStructuralProperty : EdmProperty, 
    IEdmStructuralProperty, IEdmProperty, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
public ref class EdmStructuralProperty : public EdmProperty, 
    IEdmStructuralProperty, IEdmProperty, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
type EdmStructuralProperty =  
    class 
        inherit EdmProperty 
        interface IEdmStructuralProperty 
        interface IEdmProperty 
        interface IEdmNamedElement 
        interface IEdmVocabularyAnnotatable 
        interface IEdmElement 
    end
public class EdmStructuralProperty extends EdmProperty implements IEdmStructuralProperty, IEdmProperty, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement

The EdmStructuralProperty type exposes the following members.

Constructors

  Name Description
Public method EdmStructuralProperty(IEdmStructuredType, String, IEdmTypeReference) Initializes a new instance of the EdmStructuralProperty class.
Public method EdmStructuralProperty(IEdmStructuredType, String, IEdmTypeReference, String, EdmConcurrencyMode) Creates a new instance of the EdmStructuralProperty class.

Top

Properties

  Name Description
Public property ConcurrencyMode Gets the concurrency mode of this property.
Public property DeclaringType Gets the type that this property belongs to. (Inherited from EdmProperty.)
Public property DefaultValueString Gets the default value of this property.
Public property Name Gets the name of this element. (Inherited from EdmNamedElement.)
Public property PropertyKind Gets the kind of this property. (Overrides EdmProperty.PropertyKind.)
Public property Type Gets or sets the type of this property. (Inherited from EdmProperty.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Extension Methods

  Name Description
Public Extension Method Errors 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. (Defined by ValidationExtensionMethods.)
Public Extension Method IsBad Indicates whether this element contains errors returned by the Errors(IEdmElement) method. (Defined by ValidationExtensionMethods.)
Public Extension Method Location Gets the location of the specified item. (Defined by ExtensionMethods.)
Public Extension Method ToTraceString Returns the text representation of the current object. (Defined by ToTraceStringExtensionMethods.)
Public Extension Method VocabularyAnnotations Gets an annotatable element's vocabulary annotations as seen from a particular model. (Defined by ExtensionMethods.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Data.Edm.Library Namespace