EdmTemporalTypeReference Class
Represents a reference to an EDM temporal (Time, DateTime, DateTimeOffset) type.
Inheritance Hierarchy
System.Object
Microsoft.Data.Edm.Library.EdmElement
Microsoft.Data.Edm.Library.EdmTypeReference
Microsoft.Data.Edm.Library.EdmPrimitiveTypeReference
Microsoft.Data.Edm.Library.EdmTemporalTypeReference
Namespace: Microsoft.Data.Edm.Library
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Class EdmTemporalTypeReference _
Inherits EdmPrimitiveTypeReference _
Implements IEdmTemporalTypeReference, IEdmPrimitiveTypeReference, IEdmTypeReference, IEdmElement
'Usage
Dim instance As EdmTemporalTypeReference
public class EdmTemporalTypeReference : EdmPrimitiveTypeReference,
IEdmTemporalTypeReference, IEdmPrimitiveTypeReference, IEdmTypeReference, IEdmElement
public ref class EdmTemporalTypeReference : public EdmPrimitiveTypeReference,
IEdmTemporalTypeReference, IEdmPrimitiveTypeReference, IEdmTypeReference, IEdmElement
type EdmTemporalTypeReference =
class
inherit EdmPrimitiveTypeReference
interface IEdmTemporalTypeReference
interface IEdmPrimitiveTypeReference
interface IEdmTypeReference
interface IEdmElement
end
public class EdmTemporalTypeReference extends EdmPrimitiveTypeReference implements IEdmTemporalTypeReference, IEdmPrimitiveTypeReference, IEdmTypeReference, IEdmElement
The EdmTemporalTypeReference type exposes the following members.
Constructors
Name | Description | |
---|---|---|
EdmTemporalTypeReference(IEdmPrimitiveType, Boolean) | Creates a new instance of the EdmTemporalTypeReference class. | |
EdmTemporalTypeReference(IEdmPrimitiveType, Boolean, Nullable<Int32>) | Creates a new instance of the EdmTemporalTypeReference class. |
Top
Properties
Name | Description | |
---|---|---|
Definition | Gets the definition to which this type refers. (Inherited from EdmTypeReference.) | |
IsNullable | Gets a value indicating whether this type is nullable. (Inherited from EdmTypeReference.) | |
Precision | Gets the precision of this temporal type. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | Returns the text representation of the current object. (Inherited from EdmTypeReference.) |
Top
Extension Methods
Name | Description | |
---|---|---|
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.) | |
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.) | |
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.) | |
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.) | |
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.) | |
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.) | |
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.) | |
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.) | |
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.) | |
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.) | |
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.) | |
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.) | |
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.) | |
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.) | |
FullName | Gets the full name with the specified type. (Defined by ExtensionMethods.) | |
IsBad | Indicates whether this element contains errors returned by the Errors(IEdmElement) method. (Defined by ValidationExtensionMethods.) | |
IsBinary | Determines whether this reference refers to a binary type. (Defined by EdmTypeSemantics.) | |
IsBoolean | Determines whether this reference refers to a Boolean type. (Defined by EdmTypeSemantics.) | |
IsByte | Determines whether this reference refers to a byte type. (Defined by EdmTypeSemantics.) | |
IsCollection | Determines whether this reference refers to a collection. (Defined by EdmTypeSemantics.) | |
IsComplex | Determines whether this reference refers to a complex type. (Defined by EdmTypeSemantics.) | |
IsDateTime | Determines whether this reference refers to a DateTime type. (Defined by EdmTypeSemantics.) | |
IsDateTimeOffset | Determines whether this reference refers to a DateTimeOffset type. (Defined by EdmTypeSemantics.) | |
IsDecimal | Determines whether this reference refers to a decimal type. (Defined by EdmTypeSemantics.) | |
IsDouble | Determines whether this reference refers to a double type. (Defined by EdmTypeSemantics.) | |
IsEntity | Determines whether this reference refers to an entity type. (Defined by EdmTypeSemantics.) | |
IsEntityReference | Determines whether this reference refers to an entity type. (Defined by EdmTypeSemantics.) | |
IsEnum | Determines whether this reference refers to an enumeration type. (Defined by EdmTypeSemantics.) | |
IsEquivalentTo | Indicates whether the compared type is semantically equivalent to this type. (Defined by EdmElementComparer.) | |
IsFloating | Determines whether this reference refers to a floating point type. (Defined by EdmTypeSemantics.) | |
IsGuid | Determines whether this reference refers to a GUID type. (Defined by EdmTypeSemantics.) | |
IsInt16 | Determines whether this reference refers to an Int16 type. (Defined by EdmTypeSemantics.) | |
IsInt32 | Determines whether this reference refers to an Int32 type. (Defined by EdmTypeSemantics.) | |
IsInt64 | Determines whether this reference refers to an Int64 type. (Defined by EdmTypeSemantics.) | |
IsIntegral | Determines whether this reference refers to an integer type. (Defined by EdmTypeSemantics.) | |
IsPrimitive | Determines whether this reference refers to a primitive type. (Defined by EdmTypeSemantics.) | |
IsRow | Determines whether this reference refers to a row type. (Defined by EdmTypeSemantics.) | |
IsSByte | Determines whether this reference refers to a SByte type. (Defined by EdmTypeSemantics.) | |
IsSignedIntegral | Determines whether this reference refers to a signed integral type. (Defined by EdmTypeSemantics.) | |
IsSingle | Determines whether this reference refers to a single type. (Defined by EdmTypeSemantics.) | |
IsSpatial | Determines whether this reference refers to a spatial type. (Defined by EdmTypeSemantics.) | |
IsStream | Determines whether this reference refers to a stream type. (Defined by EdmTypeSemantics.) | |
IsString | Determines whether this reference refers to a string type. (Defined by EdmTypeSemantics.) | |
IsStructured | Determines whether this reference refers to a structured type. (Defined by EdmTypeSemantics.) | |
IsTemporal | Determines whether this reference refers to a temporal type. (Defined by EdmTypeSemantics.) | |
IsTime | Determines whether this reference refers to a time type. (Defined by EdmTypeSemantics.) | |
Location | Gets the location of the specified item. (Defined by ExtensionMethods.) | |
PrimitiveDefinition | Gets the primitive type to which the type refers. (Defined by ExtensionMethods.) | |
PrimitiveKind() | Overloaded. Gets the primitive kind of the specified type. (Defined by ExtensionMethods.) | |
PrimitiveKind() | Overloaded. Returns the primitive kind of the definition of this reference. (Defined by EdmTypeSemantics.) | |
ToTraceString | Returns the text representation of the current object. (Defined by ToTraceStringExtensionMethods.) | |
TypeErrors | Gets the errors, if any, that belong to this type reference or its definition. (Defined by ValidationExtensionMethods.) | |
TypeKind | Gets the type kind of the specified type. (Defined by ExtensionMethods.) |
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.