EdmCoreModel.GetTime 方法

获取对时间基元类型定义的引用。

命名空间:  Microsoft.Data.Edm.Library
程序集:  Microsoft.Data.Edm(在 Microsoft.Data.Edm.dll 中)

语法

声明
Public Function GetTime ( _
    isNullable As Boolean _
) As IEdmTemporalTypeReference
用法
Dim instance As EdmCoreModel
Dim isNullable As Boolean
Dim returnValue As IEdmTemporalTypeReference

returnValue = instance.GetTime(isNullable)
public IEdmTemporalTypeReference GetTime(
    bool isNullable
)
public:
IEdmTemporalTypeReference^ GetTime(
    bool isNullable
)
member GetTime : 
        isNullable:bool -> IEdmTemporalTypeReference 
public function GetTime(
    isNullable : boolean
) : IEdmTemporalTypeReference

参数

  • isNullable
    类型:System.Boolean
    若要指示引用的类型可以为 null,则为 true;否则为 false。

返回值

类型:Microsoft.Data.Edm.IEdmTemporalTypeReference
新的时间类型引用。

请参阅

参考

EdmCoreModel 类

Microsoft.Data.Edm.Library 命名空间