EdmNamedElement Class

Represents a common base class for all named EDM elements.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Edm.Library.EdmElement
    Microsoft.Data.Edm.Library.EdmNamedElement
      Microsoft.Data.Edm.Library.Annotations.EdmDirectValueAnnotation
      Microsoft.Data.Edm.Library.Annotations.EdmTypedDirectValueAnnotationBinding<T>
      Microsoft.Data.Edm.Library.EdmEntitySet
      Microsoft.Data.Edm.Library.EdmEnumMember
      Microsoft.Data.Edm.Library.EdmFunctionBase
      Microsoft.Data.Edm.Library.EdmFunctionParameter
      Microsoft.Data.Edm.Library.EdmProperty
      Microsoft.Data.Edm.Library.EdmValueTerm

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

Syntax

'Declaration
Public MustInherit Class EdmNamedElement _
    Inherits EdmElement _
    Implements IEdmNamedElement, IEdmElement
'Usage
Dim instance As EdmNamedElement
public abstract class EdmNamedElement : EdmElement, 
    IEdmNamedElement, IEdmElement
public ref class EdmNamedElement abstract : public EdmElement, 
    IEdmNamedElement, IEdmElement
[<AbstractClassAttribute>]
type EdmNamedElement =  
    class 
        inherit EdmElement 
        interface IEdmNamedElement 
        interface IEdmElement 
    end
public abstract class EdmNamedElement extends EdmElement implements IEdmNamedElement, IEdmElement

The EdmNamedElement type exposes the following members.

Constructors

  Name Description
Protected method EdmNamedElement Creates a new instance of the EdmNamedElement class.

Top

Properties

  Name Description
Public property Name Gets the name of this element.

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.)

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