EdmTypeSemantics Class

Provides semantics of the predefined EDM types.

Inheritance Hierarchy

System.Object
  Microsoft.Data.Edm.EdmTypeSemantics

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class EdmTypeSemantics
'Usage
public static class EdmTypeSemantics
[ExtensionAttribute]
public ref class EdmTypeSemantics abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type EdmTypeSemantics =  class end
public final class EdmTypeSemantics

The EdmTypeSemantics type exposes the following members.

Methods

  Name Description
Public methodStatic member ApplyType Returns a reference to this row type definition.
Public methodStatic member AsBinary Returns a valid binary type reference to the type definition if this reference is of a binary type. Otherwise, it will return a bad binary type reference.
Public methodStatic member AsCollection Returns a valid collection type reference to the type definition if this reference is of a collection type. Otherwise, it will return a bad collection type reference.
Public methodStatic member AsComplex Returns a valid complex type reference to the type definition if this reference is of a complex type. Otherwise, it will return a bad complex type reference.
Public methodStatic member AsDecimal Returns a valid decimal type reference to the type definition if this reference is of a decimal type. Otherwise, it will return a bad decimal type reference.
Public methodStatic member AsEntity Returns a valid entity type reference to the type definition if this reference is of an entity type. Otherwise, it will return a bad entity type reference.
Public methodStatic member AsEntityReference Returns a valid entity reference type reference to the type definition if this reference is of an entity reference type. Otherwise, it will return a bad entity reference type reference.
Public methodStatic member AsEnum Returns a valid enumeration type reference to the type definition if this reference is of an enumeration type. Otherwise, it will return a bad enumeration type reference.
Public methodStatic member AsPrimitive Returns a valid primitive type reference to the type definition if this reference is of a primitive type. Otherwise, it will return a bad primitive type reference.
Public methodStatic member AsRow Returns a valid row type reference to the type definition if this reference is of a row type. Otherwise, it will return a bad row type reference.
Public methodStatic member AsSpatial Returns a valid spatial type reference to the type definition if this reference is of a spatial type. Otherwise, it will return a bad spatial type reference.
Public methodStatic member AsString Returns a valid string type reference to the type definition if this reference is of a string type. Otherwise, it will return a bad string type reference.
Public methodStatic member AsStructured Returns a valid structured type reference to the type definition if this reference is of a structured type. Otherwise, it will return a bad structured type reference.
Public methodStatic member AsTemporal Returns a valid temporal type reference to the type definition if this reference is of a temporal type. Otherwise, it will return a bad temporal type reference.
Public methodStatic member InheritsFrom Determines whether the potential base type is in the inheritance hierarchy of the type being tested.
Public methodStatic member IsBinary Determines whether this reference refers to a binary type.
Public methodStatic member IsBoolean Determines whether this reference refers to a Boolean type.
Public methodStatic member IsByte Determines whether this reference refers to a byte type.
Public methodStatic member IsCollection Determines whether this reference refers to a collection.
Public methodStatic member IsComplex Determines whether this reference refers to a complex type.
Public methodStatic member IsDateTime Determines whether this reference refers to a DateTime type.
Public methodStatic member IsDateTimeOffset Determines whether this reference refers to a DateTimeOffset type.
Public methodStatic member IsDecimal Determines whether this reference refers to a decimal type.
Public methodStatic member IsDouble Determines whether this reference refers to a double type.
Public methodStatic member IsEntity Determines whether this reference refers to an entity type.
Public methodStatic member IsEntityReference Determines whether this reference refers to an entity type.
Public methodStatic member IsEnum Determines whether this reference refers to an enumeration type.
Public methodStatic member IsFloating Determines whether this reference refers to a floating point type.
Public methodStatic member IsGuid Determines whether this reference refers to a GUID type.
Public methodStatic member IsInt16 Determines whether this reference refers to an Int16 type.
Public methodStatic member IsInt32 Determines whether this reference refers to an Int32 type.
Public methodStatic member IsInt64 Determines whether this reference refers to an Int64 type.
Public methodStatic member IsIntegral(EdmPrimitiveTypeKind) Determines whether this primitive type kind represents an integer type.
Public methodStatic member IsIntegral(IEdmTypeReference) Determines whether this reference refers to an integer type.
Public methodStatic member IsOrInheritsFrom Determines whether a type is equivalent to or derived from another type.
Public methodStatic member IsPrimitive Determines whether this reference refers to a primitive type.
Public methodStatic member IsRow Determines whether this reference refers to a row type.
Public methodStatic member IsSByte Determines whether this reference refers to a SByte type.
Public methodStatic member IsSignedIntegral Determines whether this reference refers to a signed integral type.
Public methodStatic member IsSingle Determines whether this reference refers to a single type.
Public methodStatic member IsSpatial(EdmPrimitiveTypeKind) Determines whether this type kind represents a spatial type.
Public methodStatic member IsSpatial(IEdmType) Determines whether this definition refers to a spatial type.
Public methodStatic member IsSpatial(IEdmTypeReference) Determines whether this reference refers to a spatial type.
Public methodStatic member IsStream Determines whether this reference refers to a stream type.
Public methodStatic member IsString Determines whether this reference refers to a string type.
Public methodStatic member IsStructured(EdmTypeKind) Determines whether this type kind represents a structured type.
Public methodStatic member IsStructured(IEdmTypeReference) Determines whether this reference refers to a structured type.
Public methodStatic member IsTemporal(EdmPrimitiveTypeKind) Determines whether this type kind represents a temporal type.
Public methodStatic member IsTemporal(IEdmTypeReference) Determines whether this reference refers to a temporal type.
Public methodStatic member IsTime Determines whether this reference refers to a time type.
Public methodStatic member PrimitiveKind Returns the primitive kind of the definition of this reference.

Top

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 Namespace