Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class DocumentMetadata

A POCO to serialize transactions metadata on a document for rollback / unstaging purposes.

Inheritance
object
DocumentMetadata
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Couchbase.Client.Transactions.Components
Assembly: Couchbase.NetClient.dll
Syntax
public class DocumentMetadata

Constructors

View Source

DocumentMetadata()

Declaration
public DocumentMetadata()

Properties

View Source

Cas

Gets the stringified CAS value.

Declaration
[JsonPropertyName("CAS")]
[JsonInclude]
public string? Cas { get; }
Property Value
Type Description
string
View Source

Crc32c

Gets the CRC32 checksum.

Declaration
[JsonPropertyName("value_crc32c")]
[JsonInclude]
public string? Crc32c { get; }
Property Value
Type Description
string
View Source

ExpTime

Gets the expiration time

Declaration
[JsonPropertyName("exptime")]
[JsonInclude]
public ulong? ExpTime { get; }
Property Value
Type Description
ulong?
View Source

RevId

Gets the Revision ID.

Declaration
[JsonPropertyName("revid")]
[JsonInclude]
public string? RevId { get; }
Property Value
Type Description
string
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.