EdmCoreModel.GetDateTime Method

Gets a reference to a datetime primitive type definition.

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

Syntax

'Declaration
Public Function GetDateTime ( _
    isNullable As Boolean _
) As IEdmTemporalTypeReference
'Usage
Dim instance As EdmCoreModel 
Dim isNullable As Boolean 
Dim returnValue As IEdmTemporalTypeReference 

returnValue = instance.GetDateTime(isNullable)
public IEdmTemporalTypeReference GetDateTime(
    bool isNullable
)
public:
IEdmTemporalTypeReference^ GetDateTime(
    bool isNullable
)
member GetDateTime : 
        isNullable:bool -> IEdmTemporalTypeReference
public function GetDateTime(
    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 datetime type reference.

See Also

Reference

EdmCoreModel Class

Microsoft.Data.Edm.Library Namespace