![]() | IPersistableType Interface |
Namespace: Neon.Data
The IPersistableType type exposes the following members.
Name | Description | |
---|---|---|
![]() | __Load |
Loads the entity properties from the backing JObject
or from the optional JObject passed.
|
![]() | __Save |
Persists the object properties to the backing JObject.
|
![]() | GetKey | Returns the Couchbase or other database key to be used to persist or retrieve the entity. By convention for Couchbase, this key includes the entity type plus the unique key formatted like entity-type::unique-key. For example: user::122330 This identifies the document as a user with unique ID as 122330. Document IDs are formatted like this so that we'll be able to take advantage of document filtering by type when we've enabled Couchbase cross datacenter replication. |