创建 EdmTemporalTypeReference 类的新实例。
命名空间: Microsoft.Data.Edm.Library
程序集: Microsoft.Data.Edm(在 Microsoft.Data.Edm.dll 中)
语法
声明
Public Sub New ( _
definition As IEdmPrimitiveType, _
isNullable As Boolean, _
precision As Nullable(Of Integer) _
)
用法
Dim definition As IEdmPrimitiveType
Dim isNullable As Boolean
Dim precision As Nullable(Of Integer)
Dim instance As New EdmTemporalTypeReference(definition, _
isNullable, precision)
public EdmTemporalTypeReference(
IEdmPrimitiveType definition,
bool isNullable,
Nullable<int> precision
)
public:
EdmTemporalTypeReference(
IEdmPrimitiveType^ definition,
bool isNullable,
Nullable<int> precision
)
new :
definition:IEdmPrimitiveType *
isNullable:bool *
precision:Nullable<int> -> EdmTemporalTypeReference
public function EdmTemporalTypeReference(
definition : IEdmPrimitiveType,
isNullable : boolean,
precision : Nullable<int>
)
参数
- definition
类型:Microsoft.Data.Edm.IEdmPrimitiveType
此引用所引用的类型。
- isNullable
类型:System.Boolean
表示该类型是否可为空。
- precision
类型:System.Nullable<Int32>
具有此类型的值的精度。