DittoSyncKit  1.0.0-alpha4
Protected Member Functions | Properties | List of all members
Ditto.SyncKit.DittoDocument Class Reference

A document in a DittoCollection. More...

Inheritance diagram for Ditto.SyncKit.DittoDocument:

Protected Member Functions

unsafe override void drop (bool disposing)
 

Properties

string 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

string Ditto.SyncKit.DittoDocument.Id
get

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

◆ this[string key]

DittoDocumentPath Ditto.SyncKit.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> Ditto.SyncKit.DittoDocument.Value
get

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