Метод | Описание | |
---|---|---|
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 ( |
Метод | Описание | |
---|---|---|
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 ( ) : |
Метод | Описание | |
---|---|---|
EqualFields ( object v1, object v2 ) : bool |
protected AutoReconcile ( ICouchDocument databaseCopy ) : void | ||
databaseCopy | ICouchDocument | |
Результат | void |
public CouchDocument ( JToken>.IDictionary |
||
doc | JToken>.IDictionary | |
Результат | System |
public CouchDocument ( string id ) : System | ||
id | string | |
Результат | System |
public CouchDocument ( string id, string rev ) : System | ||
id | string | |
rev | string | |
Результат | System |
public GetDatabaseCopy ( ICouchDatabase db ) : IReconcilingDocument | ||
db | ICouchDatabase | |
Результат | IReconcilingDocument |
public static ReadIdAndRev ( ICouchDocument doc, Newtonsoft.Json.Linq.JObject obj ) : void | ||
doc | ICouchDocument | |
obj | Newtonsoft.Json.Linq.JObject | |
Результат | void |
public static ReadIdAndRev ( ICouchDocument doc, |
||
doc | ICouchDocument | |
reader | ||
Результат | void |
public ReadJson ( Newtonsoft.Json.Linq.JObject obj ) : void | ||
obj | Newtonsoft.Json.Linq.JObject | |
Результат | void |
public Reconcile ( ICouchDocument databaseCopy ) : void | ||
databaseCopy | ICouchDocument | |
Результат | void |
public static WriteIdAndRev ( ICouchDocument doc, |
||
doc | ICouchDocument | |
writer | ||
Результат | void |
public static WriteJson ( ICanJson doc ) : string | ||
doc | ICanJson | |
Результат | string |
public WriteJson ( |
||
writer | ||
Результат | void |
public WriteJsonObject ( |
||
writer | ||
Результат | void |