EdmCoreModel.GetDecimal 方法 (Nullable<Int32>, Nullable<Int32>, Boolean)

获取对十进制类型的引用。

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

语法

声明
Public Function GetDecimal ( _
    precision As Nullable(Of Integer), _
    scale As Nullable(Of Integer), _
    isNullable As Boolean _
) As IEdmDecimalTypeReference
用法
Dim instance As EdmCoreModel
Dim precision As Nullable(Of Integer)
Dim scale As Nullable(Of Integer)
Dim isNullable As Boolean
Dim returnValue As IEdmDecimalTypeReference

returnValue = instance.GetDecimal(precision, _
    scale, isNullable)
public IEdmDecimalTypeReference GetDecimal(
    Nullable<int> precision,
    Nullable<int> scale,
    bool isNullable
)
public:
IEdmDecimalTypeReference^ GetDecimal(
    Nullable<int> precision, 
    Nullable<int> scale, 
    bool isNullable
)
member GetDecimal : 
        precision:Nullable<int> * 
        scale:Nullable<int> * 
        isNullable:bool -> IEdmDecimalTypeReference 
public function GetDecimal(
    precision : Nullable<int>, 
    scale : Nullable<int>, 
    isNullable : boolean
) : IEdmDecimalTypeReference

参数

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

返回值

类型:Microsoft.Data.Edm.IEdmDecimalTypeReference
十进制类型引用。

请参阅

参考

EdmCoreModel 类

GetDecimal 重载

Microsoft.Data.Edm.Library 命名空间