Click or drag to resize
DocumentT Class
Provides an interface for interacting with documents within Couchbase Server
Inheritance Hierarchy
SystemObject
  CouchbaseDocumentT

Namespace: Couchbase
Assembly: Couchbase (in Couchbase.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class Document<T> : IDocument<T>

Type Parameters

T
The type of document.

The DocumentT type exposes the following members.

Constructors
  NameDescription
Public methodDocumentT
Initializes a new instance of the DocumentT class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyCas
The "Check and Set" value for enforcing optimistic concurrency
Public propertyExpiry
The time-to-live or TTL for the document before it's evicated from disk
Public propertyId
The unique identifier for the document
Public propertyValue
The value representing the document itself
Top
See Also