메소드 | 설명 | |
---|---|---|
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, 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 WriteJson ( |
||
writer | ||
리턴 | void |
public WriteJsonObject ( |
||
writer | ||
리턴 | void |