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 | |
---|---|---|
ApplyType | Returns a reference to this row type definition. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
InheritsFrom | Determines whether the potential base type is in the inheritance hierarchy of the type being tested. | |
IsBinary | Determines whether this reference refers to a binary type. | |
IsBoolean | Determines whether this reference refers to a Boolean type. | |
IsByte | Determines whether this reference refers to a byte type. | |
IsCollection | Determines whether this reference refers to a collection. | |
IsComplex | Determines whether this reference refers to a complex type. | |
IsDateTime | Determines whether this reference refers to a DateTime type. | |
IsDateTimeOffset | Determines whether this reference refers to a DateTimeOffset type. | |
IsDecimal | Determines whether this reference refers to a decimal type. | |
IsDouble | Determines whether this reference refers to a double type. | |
IsEntity | Determines whether this reference refers to an entity type. | |
IsEntityReference | Determines whether this reference refers to an entity type. | |
IsEnum | Determines whether this reference refers to an enumeration type. | |
IsFloating | Determines whether this reference refers to a floating point type. | |
IsGuid | Determines whether this reference refers to a GUID type. | |
IsInt16 | Determines whether this reference refers to an Int16 type. | |
IsInt32 | Determines whether this reference refers to an Int32 type. | |
IsInt64 | Determines whether this reference refers to an Int64 type. | |
IsIntegral(EdmPrimitiveTypeKind) | Determines whether this primitive type kind represents an integer type. | |
IsIntegral(IEdmTypeReference) | Determines whether this reference refers to an integer type. | |
IsOrInheritsFrom | Determines whether a type is equivalent to or derived from another type. | |
IsPrimitive | Determines whether this reference refers to a primitive type. | |
IsRow | Determines whether this reference refers to a row type. | |
IsSByte | Determines whether this reference refers to a SByte type. | |
IsSignedIntegral | Determines whether this reference refers to a signed integral type. | |
IsSingle | Determines whether this reference refers to a single type. | |
IsSpatial(EdmPrimitiveTypeKind) | Determines whether this type kind represents a spatial type. | |
IsSpatial(IEdmType) | Determines whether this definition refers to a spatial type. | |
IsSpatial(IEdmTypeReference) | Determines whether this reference refers to a spatial type. | |
IsStream | Determines whether this reference refers to a stream type. | |
IsString | Determines whether this reference refers to a string type. | |
IsStructured(EdmTypeKind) | Determines whether this type kind represents a structured type. | |
IsStructured(IEdmTypeReference) | Determines whether this reference refers to a structured type. | |
IsTemporal(EdmPrimitiveTypeKind) | Determines whether this type kind represents a temporal type. | |
IsTemporal(IEdmTypeReference) | Determines whether this reference refers to a temporal type. | |
IsTime | Determines whether this reference refers to a time type. | |
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.