EdmDecimalTypeReference Constructor (IEdmPrimitiveType, Boolean, Nullable<Int32>, Nullable<Int32>)
Creates a new instance of the EdmDecimalTypeReference class.
Namespace: Microsoft.Data.Edm.Library
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
Public Sub New ( _
definition As IEdmPrimitiveType, _
isNullable As Boolean, _
precision As Nullable(Of Integer), _
scale As Nullable(Of Integer) _
)
'Usage
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>
)
Parameters
- definition
Type: Microsoft.Data.Edm.IEdmPrimitiveType
The type this reference refers to.
- isNullable
Type: System.Boolean
Denotes whether the type can be nullable.
- precision
Type: System.Nullable<Int32>
The precision of values with this type.
- scale
Type: System.Nullable<Int32>
The scale of values with this type.