Jaa


EdmCollectionType Class

Definition

Represents a definition of an EDM collection type.

public class EdmCollectionType : Microsoft.OData.Edm.EdmType, Microsoft.OData.Edm.IEdmCollectionType
type EdmCollectionType = class
    inherit EdmType
    interface IEdmCollectionType
    interface IEdmType
    interface IEdmElement
Public Class EdmCollectionType
Inherits EdmType
Implements IEdmCollectionType
Inheritance
EdmCollectionType
Implements

Constructors

EdmCollectionType(IEdmTypeReference)

Initializes a new instance of the EdmCollectionType class.

Properties

ElementType

Gets the element type of this collection type.

TypeKind

Gets the kind of this type.

Methods

ToString()

Returns the text representation of the current object.

(Inherited from EdmType)

Extension Methods

IsEquivalentTo(IEdmType, IEdmType)

Returns true if the compared type is semantically equivalent to this type. Schema types (IEdmSchemaType) are compared by their object refs.

AsActualType(IEdmType)

Returns the actual type of the given type. If the given type is type definition, the actual type is its underlying type; otherwise, return the given type itself.

IsBinary(IEdmType)

Returns true if this definition refers to a binary type.

IsDecimal(IEdmType)

Returns true if this definition refers to a decimal type.

IsGeography(IEdmType)

Returns true if this definition refers to a geography type.

IsGeometry(IEdmType)

Returns true if this definition refers to a geometry type.

IsOnSameTypeHierarchyLineWith(IEdmType, IEdmType)

Determines whether thisType is the same as otherType, or thisType derives from otherType, or otherType derives from thisType.

IsOrInheritsFrom(IEdmType, IEdmType)

Determines if a type is equivalent to or derived from another type.

IsSpatial(IEdmType)

Returns true if this definition refers to a spatial type.

IsStream(IEdmType)

Returns true if this reference refers to a stream type.

IsString(IEdmType)

Returns true if this definition refers to a string type.

IsTemporal(IEdmType)

Returns true if this definition refers to a temporal type.

IsUntyped(IEdmType)

Returns true if this definition refers to an untyped type.

AsElementType(IEdmType)

Gets the element type of a collection definition or itself of a non-collection definition referred to by the type reference.

FullTypeName(IEdmType)

Gets the full name of the definition referred to by the type reference.

IsOpen(IEdmType)

Returns true if the definition of this reference is open.

Location(IEdmElement)

Gets the location of this element.

ToTraceString(IEdmType)

Returns the text representation of the current object.

Errors(IEdmElement)

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.

IsBad(IEdmElement)

Returns true if this element contains errors returned by the Errors(IEdmElement) method.

Applies to