EdmTypeSemantics Class

Definition

Provides semantics of the predefined EDM types.

public static class EdmTypeSemantics
type EdmTypeSemantics = class
Public Module EdmTypeSemantics
Inheritance
EdmTypeSemantics

Methods

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.

AsBinary(IEdmTypeReference)

If this reference is of a binary type, this will return a valid binary type reference to the type definition. Otherwise, it will return a bad binary type reference.

AsCollection(IEdmTypeReference)

If this reference is of a collection type, this will return a valid collection type reference to the type definition. Otherwise, it will return a bad collection type reference.

AsComplex(IEdmTypeReference)

If this reference is of a complex type, this will return a valid complex type reference to the type definition. Otherwise, it will return a bad complex type reference.

AsDecimal(IEdmTypeReference)

If this reference is of a decimal type, this will return a valid decimal type reference to the type definition. Otherwise, it will return a bad decimal type reference.

AsEntity(IEdmTypeReference)

If this reference is of an entity type, this will return a valid entity type reference to the type definition. Otherwise, it will return a bad entity type reference.

AsEntityReference(IEdmTypeReference)

If this reference is of an entity reference type, this will return a valid entity reference type reference to the type definition. Otherwise, it will return a bad entity reference type reference.

AsEnum(IEdmTypeReference)

If this reference is of an enumeration type, this will return a valid enumeration type reference to the type definition. Otherwise, it will return a bad enumeration type reference.

AsPath(IEdmTypeReference)

If this reference is of a path type, this will return a valid path type reference to the type definition. Otherwise, it will return a bad path type reference.

AsPrimitive(IEdmTypeReference)

If this reference is of a primitive type, this will return a valid primitive type reference to the type definition. Otherwise, it will return a bad primitive type reference.

AsSpatial(IEdmTypeReference)

If this reference is of a spatial type, this will return a valid spatial type reference to the type definition. Otherwise, it will return a bad spatial type reference.

AsString(IEdmTypeReference)

If this reference is of a string type, this will return a valid string type reference to the type definition. Otherwise, it will return a bad string type reference.

AsStructured(IEdmTypeReference)

If this reference is of a structured type, this will return a valid structured type reference to the type definition. Otherwise, it will return a bad structured type reference.

AsTemporal(IEdmTypeReference)

If this reference is of a temporal type, this will return a valid temporal type reference to the type definition. Otherwise, it will return a bad temporal type reference.

AsTypeDefinition(IEdmTypeReference)

If this reference is of a type definition, this will return a valid type definition reference to the type definition. Otherwise, it will return a bad type definition reference.

InheritsFrom(IEdmStructuredType, IEdmStructuredType)

Determines if the potential base type is in the inheritance hierarchy of the type being tested.

IsBinary(IEdmType)

Returns true if this definition refers to a binary type.

IsBinary(IEdmTypeReference)

Returns true if this reference refers to a binary type.

IsBoolean(IEdmTypeReference)

Returns true if this reference refers to a boolean type.

IsByte(IEdmTypeReference)

Returns true if this reference refers to a byte type.

IsCollection(IEdmTypeReference)

Returns true if this reference refers to a collection.

IsComplex(IEdmTypeReference)

Returns true if this reference refers to a complex type.

IsDate(IEdmTypeReference)

Returns true if this reference refers to a Date type.

IsDateTimeOffset(IEdmTypeReference)

Returns true if this reference refers to a DateTimeOffset type.

IsDecimal(IEdmType)

Returns true if this definition refers to a decimal type.

IsDecimal(IEdmTypeReference)

Returns true if this reference refers to a decimal type.

IsDouble(IEdmTypeReference)

Returns true if this reference refers to a double type.

IsDuration(IEdmTypeReference)

Returns true if this reference refers to a duration type.

IsEntity(IEdmTypeReference)

Returns true if this reference refers to an entity type.

IsEntityReference(IEdmTypeReference)

Returns true if this reference refers to an entity type.

IsEnum(IEdmTypeReference)

Returns true if this reference refers to an enumeration type.

IsFloating(IEdmTypeReference)

Returns true if this reference refers to a floating point type.

IsGeography(EdmPrimitiveTypeKind)

Returns true if this type kind represents a geography type.

IsGeography(IEdmType)

Returns true if this definition refers to a geography type.

IsGeography(IEdmTypeReference)

Returns true if this reference refers to a geography type.

IsGeometry(EdmPrimitiveTypeKind)

Returns true if this type kind represents a geometry type.

IsGeometry(IEdmType)

Returns true if this definition refers to a geometry type.

IsGeometry(IEdmTypeReference)

Returns true if this reference refers to a geometry type.

IsGuid(IEdmTypeReference)

Returns true if this reference refers to a GUID type.

IsInt16(IEdmTypeReference)

Returns true if this reference refers to an Int16 type.

IsInt32(IEdmTypeReference)

Returns true if this reference refers to an Int32 type.

IsInt64(IEdmTypeReference)

Returns true if this reference refers to an Int64 type.

IsIntegral(EdmPrimitiveTypeKind)

Returns true if this primitive type kind represents an integer type.

IsIntegral(IEdmTypeReference)

Returns true if this reference refers to an integer 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.

IsPath(IEdmTypeReference)

Returns true if this reference refers to a path type.

IsPrimitive(IEdmTypeReference)

Returns true if this reference refers to a primitive type.

IsSByte(IEdmTypeReference)

Returns true if this reference refers to an SByte type.

IsSignedIntegral(IEdmTypeReference)

Returns true if this reference refers to a signed integral type.

IsSingle(IEdmTypeReference)

Returns true if this reference refers to a single type.

IsSpatial(EdmPrimitiveTypeKind)

Returns true if this type kind represents a spatial type.

IsSpatial(IEdmType)

Returns true if this definition refers to a spatial type.

IsSpatial(IEdmTypeReference)

Returns true if this reference refers to a spatial type.

IsStream(IEdmType)

Returns true if this reference refers to a stream type.

IsStream(IEdmTypeReference)

Returns true if this reference refers to a stream type.

IsString(IEdmType)

Returns true if this definition refers to a string type.

IsString(IEdmTypeReference)

Returns true if this reference refers to a string type.

IsStructured(EdmTypeKind)

Returns true if this type kind represents a structured type.

IsStructured(IEdmTypeReference)

Returns true if this reference refers to a structured type.

IsTemporal(EdmPrimitiveTypeKind)

Returns true if this type kind represents a temporal type.

IsTemporal(IEdmType)

Returns true if this definition refers to a temporal type.

IsTemporal(IEdmTypeReference)

Returns true if this reference refers to a temporal type.

IsTimeOfDay(IEdmTypeReference)

Returns true if this reference refers to a TimeOfDay type.

IsTypeDefinition(IEdmTypeReference)

Returns true if this reference refers to a type definition.

IsUntyped(IEdmType)

Returns true if this definition refers to an untyped type.

IsUntyped(IEdmTypeReference)

Returns true if this reference refers to a Edm.Untyped type.

PrimitiveKind(IEdmTypeReference)

Returns the primitive kind of the definition of this reference.

Applies to