EdmCoreModel.GetTemporal Method (EdmPrimitiveTypeKind, Nullable<Int32>, Boolean)

Gets a reference to a temporal primitive type definition.

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

Syntax

'Declaration
Public Function GetTemporal ( _
    kind As EdmPrimitiveTypeKind, _
    precision As Nullable(Of Integer), _
    isNullable As Boolean _
) As IEdmTemporalTypeReference
'Usage
Dim instance As EdmCoreModel 
Dim kind As EdmPrimitiveTypeKind 
Dim precision As Nullable(Of Integer)
Dim isNullable As Boolean 
Dim returnValue As IEdmTemporalTypeReference 

returnValue = instance.GetTemporal(kind, _
    precision, isNullable)
public IEdmTemporalTypeReference GetTemporal(
    EdmPrimitiveTypeKind kind,
    Nullable<int> precision,
    bool isNullable
)
public:
IEdmTemporalTypeReference^ GetTemporal(
    EdmPrimitiveTypeKind kind, 
    Nullable<int> precision, 
    bool isNullable
)
member GetTemporal : 
        kind:EdmPrimitiveTypeKind * 
        precision:Nullable<int> * 
        isNullable:bool -> IEdmTemporalTypeReference
public function GetTemporal(
    kind : EdmPrimitiveTypeKind, 
    precision : Nullable<int>, 
    isNullable : boolean
) : IEdmTemporalTypeReference

Parameters

  • isNullable
    Type: System.Boolean
    true to indicate that the referenced type should be nullable; otherwise, false.

Return Value

Type: Microsoft.Data.Edm.IEdmTemporalTypeReference
A new temporal type reference.

See Also

Reference

EdmCoreModel Class

GetTemporal Overload

Microsoft.Data.Edm.Library Namespace