DittoSharp  0.4.0-alpha2
Protected Member Functions | Properties | List of all members
DittoSharp.DittoDocument Class Reference

A document in a DittoCollection. More...

Inheritance diagram for DittoSharp.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 DittoSharp.DittoDocument.Id
get

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

◆ this[string key]

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

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