EdmCoreModel.GetDecimal Method (Nullable<Int32>, Nullable<Int32>, Boolean)
Gets a reference to a decimal type.
Namespace: Microsoft.Data.Edm.Library
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Function GetDecimal ( _
precision As Nullable(Of Integer), _
scale As Nullable(Of Integer), _
isNullable As Boolean _
) As IEdmDecimalTypeReference
'Usage
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
Parameters
- precision
Type: System.Nullable<Int32>
The precision of this type.
- scale
Type: System.Nullable<Int32>
The scale of this type.
- isNullable
Type: System.Boolean
true to indicate that the referenced type should be nullable; otherwise, false.
Return Value
Type: Microsoft.Data.Edm.IEdmDecimalTypeReference
A decimal type reference.