Ditto  1.0.13
Protected Member Functions | Properties | List of all members
DittoSDK.DittoDocument Class Reference

A document in a DittoCollection. More...

Inheritance diagram for DittoSDK.DittoDocument:

Protected Member Functions

unsafe override void drop (bool disposing)
 

Properties

DittoDocumentID Id [get]
 Gets the unique identifier for this document. This is the primary key. More...
 
Dictionary< string, object > Value [get]
 Gets the value as a Dictionary<string, object>. More...
 
DittoDocumentPath this[string key] [get]
 Used to specify a path to a key in the document that you can subscript further to access a nested key in the document. More...
 

Detailed Description

A document in a DittoCollection.

Property Documentation

◆ Id

DittoDocumentID DittoSDK.DittoDocument.Id
get

Gets the unique identifier for this document. This is the primary key.

◆ this[string key]

DittoDocumentPath DittoSDK.DittoDocument.this[string key]
get

Used to specify a path to a key in the document that you can subscript further to access a nested key in the document.

Parameters
keyThe initial part of the path needed to get to the key in the document you wish to get the value of.
Returns
A DittoDocumentPath object with the provided key incorporated into the document path.

◆ Value

Dictionary<string, object> DittoSDK.DittoDocument.Value
get

Gets the value as a Dictionary<string, object>.