A DynamoDBEntry that represents a primitive DynamoDB type
Inheritance Hierarchy
System.Object
Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry
Amazon.DynamoDBv2.DocumentModel.Primitive
Amazon.DynamoDBv2.DocumentModel.DynamoDBEntry
Amazon.DynamoDBv2.DocumentModel.Primitive
Namespace: Amazon.DynamoDBv2.DocumentModel
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public class Primitive : DynamoDBEntry ICloneable, IEquatable<Primitive>
The Primitive type exposes the following members
Constructors
Name | Description | |
---|---|---|
![]() |
Primitive() | Constructs an empty Primitive |
![]() |
Primitive(string) | Constructs a Primitive with the specified value. Value is stored as a string, not numeric. |
![]() |
Primitive(string, bool) | Constructs a Primitive with the specified value and specifies whether it should be stored as a number or not. |
![]() |
Primitive(MemoryStream) | Constructs a Binary Primitive with the specified MemoryStream value. Note: Primitive's Value is set to the stream's ToArray() response. |
![]() |
Primitive(Byte[]) | Constructs a Binary Primitive with the specified byte[] value. |
Properties
Methods
Name | Description | |
---|---|---|
![]() |
AsBoolean() | Explicitly convert Primitive to Boolean |
![]() |
AsByte() | Explicitly convert Primitive to Byte |
![]() |
AsByteArray() | Explicitly convert Primitive to byte[] |
![]() |
AsChar() | Explicitly convert Primitive to Char |
![]() |
AsDateTime() | Explicitly convert Primitive to DateTime |
![]() |
AsDecimal() | Explicitly convert Primitive to Decimal |
![]() |
AsDouble() | Explicitly convert Primitive to Double |
![]() |
AsGuid() | Explicitly convert Primitive to Guid |
![]() |
AsInt() | Explicitly convert Primitive to Int32 |
![]() |
AsListOfByteArray() | Explicitly convert DynamoDBEntry to List<byte[]> |
![]() |
AsListOfMemoryStream() | Explicitly convert DynamoDBEntry to List<MemoryStream> |
![]() |
AsListOfPrimitives() | Explicitly convert DynamoDBEntry to List<Primitive> |
![]() |
AsListOfString() | Explicitly convert DynamoDBEntry to List<String> |
![]() |
AsLong() | Explicitly convert Primitive to Int64 |
![]() |
AsMemoryStream() | Explicitly convert Primitive to MemoryStream |
![]() |
AsPrimitive() | Convert DynamoDBEntry to Primitive |
![]() |
AsPrimitiveList() | Convert DynamoDBEntry to PrimitiveList |
![]() |
AsSByte() | Explicitly convert Primitive to SByte |
![]() |
AsShort() | Explicitly convert Primitive to Int16 |
![]() |
AsSingle() | Explicitly convert Primitive to Single |
![]() |
AsString() | Explicitly convert Primitive to String |
![]() |
AsUInt() | Explicitly convert Primitive to UInt32 |
![]() |
AsULong() | Explicitly convert Primitive to UInt64 |
![]() |
AsUShort() | Explicitly convert Primitive to UInt16 |
![]() |
Clone() |
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5