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 | |
---|---|---|
EdmComplexType(String, String) | Initializes a new instance of the EdmComplexType class. | |
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 | |
---|---|---|
BaseType | Gets the type from which the current type directly inherits. (Inherited from EdmStructuredType.) | |
DeclaredProperties | Gets the collection of declared properties. (Inherited from EdmStructuredType.) | |
IsAbstract | Gets a value that indicates whether the type is abstract. (Inherited from EdmStructuredType.) | |
IsOpen | Gets a value that indicates whether the type is visible. (Inherited from EdmStructuredType.) | |
Name | Gets the name of this complex type. | |
Namespace | Gets the namespace of this complex type. | |
PropertiesDictionary | Gets the key and value properties. (Inherited from EdmStructuredType.) | |
SchemaElementKind | Gets the kind of the schema element. | |
TermKind | Gets the kind of this term. | |
TypeKind | Gets the kind of this type. (Overrides EdmType.TypeKind.) |
Top
Methods
Name | Description | |
---|---|---|
AddProperty | Adds the specified property from the type. (Inherited from EdmStructuredType.) | |
AddStructuralProperty(String, EdmPrimitiveTypeKind) | Creates and adds a nullable structural property to this type. (Inherited from EdmStructuredType.) | |
AddStructuralProperty(String, IEdmTypeReference) | Creates and adds a structural property to this type. (Inherited from EdmStructuredType.) | |
AddStructuralProperty(String, EdmPrimitiveTypeKind, Boolean) | Creates and adds a nullable structural property to this type. (Inherited from EdmStructuredType.) | |
AddStructuralProperty(String, IEdmTypeReference, String, EdmConcurrencyMode) | Creates and adds a structural property to this type. (Inherited from EdmStructuredType.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FindProperty | Searches the property with the specified name. (Inherited from EdmStructuredType.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | Creates and returns a string representation EdmType class. (Inherited from EdmType.) |
Top
Extension Methods
Name | Description | |
---|---|---|
BaseComplexType | Gets the base complex type. (Defined by ExtensionMethods.) | |
DeclaredStructuralProperties | Gets the declared structural properties with the specified type. (Defined by ExtensionMethods.) | |
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.) | |
FullName | Gets the full name with the specified element. (Defined by ExtensionMethods.) | |
InheritsFrom | Determines whether the potential base type is in the inheritance hierarchy of the type being tested. (Defined by EdmTypeSemantics.) | |
IsBad | Indicates whether this element contains errors returned by the Errors(IEdmElement) method. (Defined by ValidationExtensionMethods.) | |
IsEquivalentTo | Indicates a value whether the compared type is semantically equivalent to this type. (Defined by EdmElementComparer.) | |
IsOrInheritsFrom | Determines whether a type is equivalent to or derived from another type. (Defined by EdmTypeSemantics.) | |
IsSpatial | Determines whether this definition refers to a spatial type. (Defined by EdmTypeSemantics.) | |
Location | Gets the location of the specified item. (Defined by ExtensionMethods.) | |
Properties | Gets the properties of the specified type. (Defined by ExtensionMethods.) | |
StructuralProperties | Gets the structural properties with the specified type. (Defined by ExtensionMethods.) | |
ToTraceString() | Overloaded. Returns the text representation of the current object. (Defined by ToTraceStringExtensionMethods.) | |
ToTraceString() | Overloaded. Returns the text representation of the current object. (Defined by ToTraceStringExtensionMethods.) | |
ToTraceString() | Overloaded. 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
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.