EdmCoreModel.GetTemporal Method (EdmPrimitiveTypeKind, 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, _
isNullable As Boolean _
) As IEdmTemporalTypeReference
'Usage
Dim instance As EdmCoreModel
Dim kind As EdmPrimitiveTypeKind
Dim isNullable As Boolean
Dim returnValue As IEdmTemporalTypeReference
returnValue = instance.GetTemporal(kind, _
isNullable)
public IEdmTemporalTypeReference GetTemporal(
EdmPrimitiveTypeKind kind,
bool isNullable
)
public:
IEdmTemporalTypeReference^ GetTemporal(
EdmPrimitiveTypeKind kind,
bool isNullable
)
member GetTemporal :
kind:EdmPrimitiveTypeKind *
isNullable:bool -> IEdmTemporalTypeReference
public function GetTemporal(
kind : EdmPrimitiveTypeKind,
isNullable : boolean
) : IEdmTemporalTypeReference
Parameters
- kind
Type: Microsoft.Data.Edm.EdmPrimitiveTypeKind
The primitive kind of the type reference being created.
- 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.