Provides an interface for interacting with documents within Couchbase Server
Inheritance Hierarchy
Namespace: CouchbaseAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
Type Parameters
- T
- The type of document.
The Document T type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Document T | Initializes a new instance of the Document T class |
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Cas |
The "Check and Set" value for enforcing optimistic concurrency
| |
Content |
The value representing the document itself
| |
Expiry |
The time-to-live or TTL for the document before it's evicated from disk
| |
Id |
The unique identifier for the document
|
See Also