Share via


IEdmTemporalTypeReference Interface

Represents a reference to an EDM temporal (Time, DateTime, DateTimeOffset) type.

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

Syntax

'Declaration
Public Interface IEdmTemporalTypeReference _
    Inherits IEdmPrimitiveTypeReference, IEdmTypeReference, IEdmElement
'Usage
Dim instance As IEdmTemporalTypeReference
public interface IEdmTemporalTypeReference : IEdmPrimitiveTypeReference, 
    IEdmTypeReference, IEdmElement
public interface class IEdmTemporalTypeReference : IEdmPrimitiveTypeReference, 
    IEdmTypeReference, IEdmElement
type IEdmTemporalTypeReference =  
    interface 
        interface IEdmPrimitiveTypeReference 
        interface IEdmTypeReference 
        interface IEdmElement 
    end
public interface IEdmTemporalTypeReference extends IEdmPrimitiveTypeReference, IEdmTypeReference, IEdmElement

The IEdmTemporalTypeReference type exposes the following members.

Properties

  Name Description
Public property Definition Gets the definition to which this type refers. (Inherited from IEdmTypeReference.)
Public property IsNullable Gets a value indicating whether this type is nullable. (Inherited from IEdmTypeReference.)
Public property Precision Gets the precision of this temporal type.

Top

Extension Methods

  Name Description
Public Extension Method 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. (Defined by EdmTypeSemantics.)
Public Extension Method 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. (Defined by EdmTypeSemantics.)
Public Extension Method 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. (Defined by EdmTypeSemantics.)
Public Extension Method 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. (Defined by EdmTypeSemantics.)
Public Extension Method 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. (Defined by EdmTypeSemantics.)
Public Extension Method 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. (Defined by EdmTypeSemantics.)
Public Extension Method 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. (Defined by EdmTypeSemantics.)
Public Extension Method 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. (Defined by EdmTypeSemantics.)
Public Extension Method 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. (Defined by EdmTypeSemantics.)
Public Extension Method 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. (Defined by EdmTypeSemantics.)
Public Extension Method 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. (Defined by EdmTypeSemantics.)
Public Extension Method 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. (Defined by EdmTypeSemantics.)
Public Extension Method 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. (Defined by EdmTypeSemantics.)
Public Extension Method 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.)
Public Extension Method FullName Gets the full name with the specified type. (Defined by ExtensionMethods.)
Public Extension Method IsBad Indicates whether this element contains errors returned by the Errors(IEdmElement) method. (Defined by ValidationExtensionMethods.)
Public Extension Method IsBinary Determines whether this reference refers to a binary type. (Defined by EdmTypeSemantics.)
Public Extension Method IsBoolean Determines whether this reference refers to a Boolean type. (Defined by EdmTypeSemantics.)
Public Extension Method IsByte Determines whether this reference refers to a byte type. (Defined by EdmTypeSemantics.)
Public Extension Method IsCollection Determines whether this reference refers to a collection. (Defined by EdmTypeSemantics.)
Public Extension Method IsComplex Determines whether this reference refers to a complex type. (Defined by EdmTypeSemantics.)
Public Extension Method IsDateTime Determines whether this reference refers to a DateTime type. (Defined by EdmTypeSemantics.)
Public Extension Method IsDateTimeOffset Determines whether this reference refers to a DateTimeOffset type. (Defined by EdmTypeSemantics.)
Public Extension Method IsDecimal Determines whether this reference refers to a decimal type. (Defined by EdmTypeSemantics.)
Public Extension Method IsDouble Determines whether this reference refers to a double type. (Defined by EdmTypeSemantics.)
Public Extension Method IsEntity Determines whether this reference refers to an entity type. (Defined by EdmTypeSemantics.)
Public Extension Method IsEntityReference Determines whether this reference refers to an entity type. (Defined by EdmTypeSemantics.)
Public Extension Method IsEnum Determines whether this reference refers to an enumeration type. (Defined by EdmTypeSemantics.)
Public Extension Method IsEquivalentTo Indicates whether the compared type is semantically equivalent to this type. (Defined by EdmElementComparer.)
Public Extension Method IsFloating Determines whether this reference refers to a floating point type. (Defined by EdmTypeSemantics.)
Public Extension Method IsGuid Determines whether this reference refers to a GUID type. (Defined by EdmTypeSemantics.)
Public Extension Method IsInt16 Determines whether this reference refers to an Int16 type. (Defined by EdmTypeSemantics.)
Public Extension Method IsInt32 Determines whether this reference refers to an Int32 type. (Defined by EdmTypeSemantics.)
Public Extension Method IsInt64 Determines whether this reference refers to an Int64 type. (Defined by EdmTypeSemantics.)
Public Extension Method IsIntegral Determines whether this reference refers to an integer type. (Defined by EdmTypeSemantics.)
Public Extension Method IsPrimitive Determines whether this reference refers to a primitive type. (Defined by EdmTypeSemantics.)
Public Extension Method IsRow Determines whether this reference refers to a row type. (Defined by EdmTypeSemantics.)
Public Extension Method IsSByte Determines whether this reference refers to a SByte type. (Defined by EdmTypeSemantics.)
Public Extension Method IsSignedIntegral Determines whether this reference refers to a signed integral type. (Defined by EdmTypeSemantics.)
Public Extension Method IsSingle Determines whether this reference refers to a single type. (Defined by EdmTypeSemantics.)
Public Extension Method IsSpatial Determines whether this reference refers to a spatial type. (Defined by EdmTypeSemantics.)
Public Extension Method IsStream Determines whether this reference refers to a stream type. (Defined by EdmTypeSemantics.)
Public Extension Method IsString Determines whether this reference refers to a string type. (Defined by EdmTypeSemantics.)
Public Extension Method IsStructured Determines whether this reference refers to a structured type. (Defined by EdmTypeSemantics.)
Public Extension Method IsTemporal Determines whether this reference refers to a temporal type. (Defined by EdmTypeSemantics.)
Public Extension Method IsTime Determines whether this reference refers to a time type. (Defined by EdmTypeSemantics.)
Public Extension Method Location Gets the location of the specified item. (Defined by ExtensionMethods.)
Public Extension Method PrimitiveDefinition Gets the primitive type to which the type refers. (Defined by ExtensionMethods.)
Public Extension Method PrimitiveKind() Overloaded. Gets the primitive kind of the specified type. (Defined by ExtensionMethods.)
Public Extension Method PrimitiveKind() Overloaded. Returns the primitive kind of the definition of this reference. (Defined by EdmTypeSemantics.)
Public Extension Method ToTraceString Returns the text representation of the current object. (Defined by ToTraceStringExtensionMethods.)
Public Extension Method TypeErrors Gets the errors, if any, that belong to this type reference or its definition. (Defined by ValidationExtensionMethods.)
Public Extension Method TypeKind Gets the type kind of the specified type. (Defined by ExtensionMethods.)

Top

See Also

Reference

Microsoft.Data.Edm Namespace