Share via


EdmStructuredType Class

Represents the common base class for definitions of EDM structured types.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Edm.Library.EdmElement
    Microsoft.Data.Edm.Library.EdmType
      Microsoft.Data.Edm.Library.EdmStructuredType
        Microsoft.Data.Edm.Library.EdmComplexType
        Microsoft.Data.Edm.Library.EdmEntityType
        Microsoft.Data.Edm.Library.EdmRowType

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

Syntax

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

The EdmStructuredType type exposes the following members.

Constructors

  Name Description
Protected method EdmStructuredType Initializes a new instance of the EdmStructuredType class.

Top

Properties

  Name Description
Public property BaseType Gets the type from which the current type directly inherits.
Public property DeclaredProperties Gets the collection of declared properties.
Public property IsAbstract Gets a value that indicates whether the type is abstract.
Public property IsOpen Gets a value that indicates whether the type is visible.
Protected property PropertiesDictionary Gets the key and value properties.
Public property TypeKind Gets EDM types and functions. (Inherited from EdmType.)

Top

Methods

  Name Description
Public method AddProperty Adds the specified property from the type.
Public method AddStructuralProperty(String, EdmPrimitiveTypeKind) Creates and adds a nullable structural property to this type.
Public method AddStructuralProperty(String, IEdmTypeReference) Creates and adds a structural property to this type.
Public method AddStructuralProperty(String, EdmPrimitiveTypeKind, Boolean) Creates and adds a nullable structural property to this type.
Public method AddStructuralProperty(String, IEdmTypeReference, String, EdmConcurrencyMode) Creates and adds a structural property to this type.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FindProperty Searches the property with the specified name.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Creates and returns a string representation EdmType class. (Inherited from EdmType.)

Top

Extension Methods

  Name Description
Public Extension Method DeclaredStructuralProperties Gets the declared structural properties with the specified type. (Defined by ExtensionMethods.)
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 InheritsFrom Determines whether the potential base type is in the inheritance hierarchy of the type being tested. (Defined by EdmTypeSemantics.)
Public Extension Method IsBad Indicates whether this element contains errors returned by the Errors(IEdmElement) method. (Defined by ValidationExtensionMethods.)
Public Extension Method IsEquivalentTo Indicates a value whether the compared type is semantically equivalent to this type. (Defined by EdmElementComparer.)
Public Extension Method IsOrInheritsFrom Determines whether a type is equivalent to or derived from another type. (Defined by EdmTypeSemantics.)
Public Extension Method IsSpatial Determines whether this definition refers to a spatial type. (Defined by EdmTypeSemantics.)
Public Extension Method Location Gets the location of the specified item. (Defined by ExtensionMethods.)
Public Extension Method Properties Gets the properties of the specified type. (Defined by ExtensionMethods.)
Public Extension Method StructuralProperties Gets the structural properties with the specified type. (Defined by ExtensionMethods.)
Public Extension Method ToTraceString Returns the text representation of the current object. (Defined by ToTraceStringExtensionMethods.)

Top

Remarks

No content here will be updated; please do not add material here.

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