Class LongValue
Represents a 64-bit signed integer value.
Inherited Members
Namespace: Oracle.NoSQL.SDK
Assembly: Oracle.NoSQL.SDK.dll
Syntax
public class LongValue : FieldValue
Remarks
This class is used to represent values of NoSQL data type
Long. This value is represented by a C# type
long
.
Constructors
Name | Description |
---|---|
LongValue(Int64) |
Initializes a new instance of the LongValue with
the specified long value.
|
Properties
Name | Description |
---|---|
AsInt64 |
Gets the value of this instance as long .
|
DbType | Gets DbType of this instance which represents the type of this value. |
Methods
Name | Description |
---|---|
SerializeAsJson(Utf8JsonWriter, JsonOutputOptions) | Writes JSON representation of the value to the stream represented by Utf8JsonWriter. |
ToDateTime() | Converts the value represented by this instance to a DateTime object. |
ToDecimal() | Converts the value represented by this instance to a decimal number. |
ToDouble() | Converts the value represented by this instance to a double precision floating point number. |
ToInt32() | Converts the value represented by this instance to a 32-bit signed integer. |