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 | |
---|---|---|
EdmStructuredType | Initializes a new instance of the EdmStructuredType class. |
Top
Properties
Name | Description | |
---|---|---|
BaseType | Gets the type from which the current type directly inherits. | |
DeclaredProperties | Gets the collection of declared properties. | |
IsAbstract | Gets a value that indicates whether the type is abstract. | |
IsOpen | Gets a value that indicates whether the type is visible. | |
PropertiesDictionary | Gets the key and value properties. | |
TypeKind | Gets EDM types and functions. (Inherited from EdmType.) |
Top
Methods
Name | Description | |
---|---|---|
AddProperty | Adds the specified property from the type. | |
AddStructuralProperty(String, EdmPrimitiveTypeKind) | Creates and adds a nullable structural property to this type. | |
AddStructuralProperty(String, IEdmTypeReference) | Creates and adds a structural property to this type. | |
AddStructuralProperty(String, EdmPrimitiveTypeKind, Boolean) | Creates and adds a nullable structural property to this type. | |
AddStructuralProperty(String, IEdmTypeReference, String, EdmConcurrencyMode) | Creates and adds a structural property to this type. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FindProperty | Searches the property with the specified name. | |
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 | |
---|---|---|
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.) | |
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 | 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.