EdmDecimalConstant Constructor (IEdmDecimalTypeReference, Decimal)
Initializes a new instance of the EdmDecimalConstant class.
Namespace: Microsoft.Data.Edm.Library.Values
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Sub New ( _
type As IEdmDecimalTypeReference, _
value As Decimal _
)
'Usage
Dim type As IEdmDecimalTypeReference
Dim value As Decimal
Dim instance As New EdmDecimalConstant(type, value)
public EdmDecimalConstant(
IEdmDecimalTypeReference type,
decimal value
)
public:
EdmDecimalConstant(
IEdmDecimalTypeReference^ type,
Decimal value
)
new :
type:IEdmDecimalTypeReference *
value:decimal -> EdmDecimalConstant
public function EdmDecimalConstant(
type : IEdmDecimalTypeReference,
value : decimal
)
Parameters
- type
Type: Microsoft.Data.Edm.IEdmDecimalTypeReference
Type of the decimal.
- value
Type: System.Decimal
Decimal value represented by this value.