IDocument<T> InterfaceCouchbase .NET SDK 2.0
Provides an interface for interacting with documents within Couchbase Server

Namespace: Couchbase
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public interface IDocument<T>
Type Parameters
T
The type of document.

The IDocument<T> type exposes the following members.

Properties
  NameDescription
Public propertyCas
The "Check and Set" value for enforcing optimistic concurrency
Public propertyContent
The value representing the document itself
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
Top
See Also