EdmComplexType Class

Represents a definition of an EDM complex type.

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public Class EdmComplexType _
    Inherits EdmStructuredType _
    Implements IEdmComplexType, IEdmStructuredType, IEdmSchemaType, IEdmType,  _
    IEdmTerm, IEdmSchemaElement, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
'Usage
Dim instance As EdmComplexType
public class EdmComplexType : EdmStructuredType, 
    IEdmComplexType, IEdmStructuredType, IEdmSchemaType, IEdmType, IEdmTerm, 
    IEdmSchemaElement, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
public ref class EdmComplexType : public EdmStructuredType, 
    IEdmComplexType, IEdmStructuredType, IEdmSchemaType, IEdmType, IEdmTerm, 
    IEdmSchemaElement, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
type EdmComplexType =  
    class 
        inherit EdmStructuredType 
        interface IEdmComplexType 
        interface IEdmStructuredType 
        interface IEdmSchemaType 
        interface IEdmType 
        interface IEdmTerm 
        interface IEdmSchemaElement 
        interface IEdmNamedElement 
        interface IEdmVocabularyAnnotatable 
        interface IEdmElement 
    end
public class EdmComplexType extends EdmStructuredType implements IEdmComplexType, IEdmStructuredType, IEdmSchemaType, IEdmType, IEdmTerm, IEdmSchemaElement, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement

The EdmComplexType type exposes the following members.

Constructors

  Name Description
Public method EdmComplexType(String, String) Initializes a new instance of the EdmComplexType class.
Public method EdmComplexType(String, String, IEdmComplexType, Boolean) Initializes a new instance of the EdmComplexType class. Note: Complex type inheritance is not supported in EDM version 3.0 and above.

Top

Properties

  Name Description
Public property BaseType Gets the type from which the current type directly inherits. (Inherited from EdmStructuredType.)
Public property DeclaredProperties Gets the collection of declared properties. (Inherited from EdmStructuredType.)
Public property IsAbstract Gets a value that indicates whether the type is abstract. (Inherited from EdmStructuredType.)
Public property IsOpen Gets a value that indicates whether the type is visible. (Inherited from EdmStructuredType.)
Public property Name Gets the name of this complex type.
Public property Namespace Gets the namespace of this complex type.
Protected property PropertiesDictionary Gets the key and value properties. (Inherited from EdmStructuredType.)
Public property SchemaElementKind Gets the kind of the schema element.
Public property TermKind Gets the kind of this term.
Public property TypeKind Gets the kind of this type. (Overrides EdmType.TypeKind.)

Top

Methods

  Name Description
Public method AddProperty Adds the specified property from the type. (Inherited from EdmStructuredType.)
Public method AddStructuralProperty(String, EdmPrimitiveTypeKind) Creates and adds a nullable structural property to this type. (Inherited from EdmStructuredType.)
Public method AddStructuralProperty(String, IEdmTypeReference) Creates and adds a structural property to this type. (Inherited from EdmStructuredType.)
Public method AddStructuralProperty(String, EdmPrimitiveTypeKind, Boolean) Creates and adds a nullable structural property to this type. (Inherited from EdmStructuredType.)
Public method AddStructuralProperty(String, IEdmTypeReference, String, EdmConcurrencyMode) Creates and adds a structural property to this type. (Inherited from EdmStructuredType.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FindProperty Searches the property with the specified name. (Inherited from EdmStructuredType.)
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 BaseComplexType Gets the base complex type. (Defined by ExtensionMethods.)
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 FullName Gets the full name with the specified element. (Defined by ExtensionMethods.)
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() Overloaded. Returns the text representation of the current object. (Defined by ToTraceStringExtensionMethods.)
Public Extension Method ToTraceString() Overloaded. Returns the text representation of the current object. (Defined by ToTraceStringExtensionMethods.)
Public Extension Method ToTraceString() Overloaded. 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

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