EdmDecimalTypeReference 建構函式 (IEdmPrimitiveType, Boolean, Nullable<Int32>, Nullable<Int32>)
建立 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
表示型別是否可為 Null。
- precision
型別:System.Nullable<Int32>
具有此型別之值的精確度。
- scale
型別:System.Nullable<Int32>
具有此型別之值的小數位數。