EdmProperty Class
Represents an EDM property.
Inheritance Hierarchy
System.Object
Microsoft.Data.Edm.Library.EdmElement
Microsoft.Data.Edm.Library.EdmNamedElement
Microsoft.Data.Edm.Library.EdmProperty
Microsoft.Data.Edm.Library.EdmNavigationProperty
Microsoft.Data.Edm.Library.EdmStructuralProperty
Namespace: Microsoft.Data.Edm.Library
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public MustInherit Class EdmProperty _
Inherits EdmNamedElement _
Implements IEdmProperty, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
'Usage
Dim instance As EdmProperty
public abstract class EdmProperty : EdmNamedElement,
IEdmProperty, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
public ref class EdmProperty abstract : public EdmNamedElement,
IEdmProperty, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
[<AbstractClassAttribute>]
type EdmProperty =
class
inherit EdmNamedElement
interface IEdmProperty
interface IEdmNamedElement
interface IEdmVocabularyAnnotatable
interface IEdmElement
end
public abstract class EdmProperty extends EdmNamedElement implements IEdmProperty, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
The EdmProperty type exposes the following members.
Constructors
Name | Description | |
---|---|---|
EdmProperty | Creates a new instance of the EdmProperty class. |
Top
Properties
Name | Description | |
---|---|---|
DeclaringType | Gets the type that this property belongs to. | |
Name | Gets the name of this element. (Inherited from EdmNamedElement.) | |
PropertyKind | Gets the kind of this property. | |
Type | Gets or sets the type of this property. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Extension Methods
Name | Description | |
---|---|---|
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.) | |
IsBad | Indicates whether this element contains errors returned by the Errors(IEdmElement) method. (Defined by ValidationExtensionMethods.) | |
Location | Gets the location of the specified item. (Defined by ExtensionMethods.) | |
ToTraceString | Returns the text representation of the current object. (Defined by ToTraceStringExtensionMethods.) | |
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.