Method | Description | |
---|---|---|
CouchDocument ( ) : System | ||
CouchDocument ( JToken>.IDictionary |
||
CouchDocument ( string id ) : System | ||
CouchDocument ( string id, string rev ) : System | ||
GetDatabaseCopy ( ICouchDatabase db ) : IReconcilingDocument | ||
ReadIdAndRev ( ICouchDocument doc, Newtonsoft.Json.Linq.JObject obj ) : void | ||
ReadIdAndRev ( ICouchDocument doc, |
||
ReadJson ( Newtonsoft.Json.Linq.JObject obj ) : void | ||
Reconcile ( ICouchDocument databaseCopy ) : void |
Called by the runtime when a conflict is detected during save. The supplied parameter is the database copy of the document being saved.
|
|
SaveCommited ( ) : void | ||
WriteIdAndRev ( ICouchDocument doc, |
||
WriteJson ( ICanJson doc ) : string | ||
WriteJson ( |
||
WriteJsonObject ( |
Method | Description | |
---|---|---|
AutoClone ( ) : |
||
AutoReconcile ( ICouchDocument databaseCopy ) : void |
Automatically reconcile the database copy with the target instance. This method uses reflection to perform the reconcilliation, and as such won't perform as well as other version, but is available for low-occurance scenarios
|
|
Clone ( ) : |
Method | Description | |
---|---|---|
EqualFields ( object v1, object v2 ) : bool |
protected AutoReconcile ( ICouchDocument databaseCopy ) : void | ||
databaseCopy | ICouchDocument | |
return | void |
public CouchDocument ( JToken>.IDictionary |
||
doc | JToken>.IDictionary | |
return | System |
public CouchDocument ( string id, string rev ) : System | ||
id | string | |
rev | string | |
return | System |
public GetDatabaseCopy ( ICouchDatabase db ) : IReconcilingDocument | ||
db | ICouchDatabase | |
return | IReconcilingDocument |
public static ReadIdAndRev ( ICouchDocument doc, Newtonsoft.Json.Linq.JObject obj ) : void | ||
doc | ICouchDocument | |
obj | Newtonsoft.Json.Linq.JObject | |
return | void |
public static ReadIdAndRev ( ICouchDocument doc, |
||
doc | ICouchDocument | |
reader | ||
return | void |
public ReadJson ( Newtonsoft.Json.Linq.JObject obj ) : void | ||
obj | Newtonsoft.Json.Linq.JObject | |
return | void |
public Reconcile ( ICouchDocument databaseCopy ) : void | ||
databaseCopy | ICouchDocument | |
return | void |
public static WriteIdAndRev ( ICouchDocument doc, |
||
doc | ICouchDocument | |
writer | ||
return | void |
public static WriteJson ( ICanJson doc ) : string | ||
doc | ICanJson | |
return | string |
public WriteJson ( |
||
writer | ||
return | void |
public WriteJsonObject ( |
||
writer | ||
return | void |