创建 EdmDecimalTypeReference 类的新实例。
命名空间: 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), _
scale As Nullable(Of Integer) _
)
用法
Dim definition As IEdmPrimitiveType
Dim isNullable As Boolean
Dim precision As Nullable(Of Integer)
Dim scale As Nullable(Of Integer)
Dim instance As New EdmDecimalTypeReference(definition, _
isNullable, precision, scale)
public EdmDecimalTypeReference(
IEdmPrimitiveType definition,
bool isNullable,
Nullable<int> precision,
Nullable<int> scale
)
public:
EdmDecimalTypeReference(
IEdmPrimitiveType^ definition,
bool isNullable,
Nullable<int> precision,
Nullable<int> scale
)
new :
definition:IEdmPrimitiveType *
isNullable:bool *
precision:Nullable<int> *
scale:Nullable<int> -> EdmDecimalTypeReference
public function EdmDecimalTypeReference(
definition : IEdmPrimitiveType,
isNullable : boolean,
precision : Nullable<int>,
scale : Nullable<int>
)
参数
- definition
类型:Microsoft.Data.Edm.IEdmPrimitiveType
此引用所引用的类型。
- isNullable
类型:System.Boolean
表示该类型是否可为空。
- precision
类型:System.Nullable<Int32>
具有此类型的值的精度。
- scale
类型:System.Nullable<Int32>
具有此类型的值的刻度。