Document Class

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
A collection of attribute key-value pairs that defines an item in DynamoDB.

Inheritance Hierarchy

System.Object
  Amazon.DynamoDBv2.DocumentModel.Document

Namespace: Amazon.DynamoDBv2.DocumentModel
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class Document : Object
         ICollection<KeyValuePair<String, DynamoDBEntry>>, IDictionary<String, DynamoDBEntry>, IEnumerable, IEnumerable<KeyValuePair<String, DynamoDBEntry>>

The Document type exposes the following members

Constructors

  Name Description
Public Method Document() Constructs an empty Document.
Public Method Document(Dictionary`2)

Properties

  Name Description
Public Property Count
Public Property IsReadOnly
Public Property Item
Public Property Keys
Public Property Values

Methods

  Name Description
Public Method Add(string, DynamoDBEntry)
Public Method Add(KeyValuePair`2)
Public Method Clear()
Public Method Contains(string) Determines if a specific attribute is set on the Document.
Public Method Contains(KeyValuePair`2)
Public Method ContainsKey(string)
Public Method CopyTo(KeyValuePair`2[], int)
Public Method Static Method FromAttributeMap(Dictionary`2)
Public Method GetAttributeNames() Returns the names of all the attributes.
Public Method GetEnumerator()
Public Method IsAttributeChanged(string) Returns true if the attribute has been changed.
Public Method IsDirty() Returns true if the document contains attributes that have not been saved.
Public Method Remove(string)
Public Method Remove(KeyValuePair`2)
Public Method ToAttributeMap() Creates a map of attribute names mapped to AttributeValue objects.
Public Method ToAttributeUpdateMap(bool) Creates a map of attribute names mapped to AttributeValueUpdate objects.
Public Method ToExpectedAttributeMap() Creates a map of attribute names mapped to ExpectedAttributeValue objects.
Public Method TryGetValue(string, DynamoDBEntry&)

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5