Couchbase .NET SDK | 3.7.2
Search Results for

    Show / Hide Table of Contents

    Class SingleQueryTransactionConfigBuilder

    A subset Transaction Configuration options relevant to single-query transactions.

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

    Properties

    | Edit this page View Source

    DurabilityLevelValue

    Gets or sets the Durability Level for this single query transaction.

    Declaration
    public DurabilityLevel? DurabilityLevelValue { get; }
    Property Value
    Type Description
    DurabilityLevel?
    | Edit this page View Source

    QueryOptionsValue

    Gets or sets the query options for this single query transaction.

    Declaration
    public TransactionQueryOptions QueryOptionsValue { get; }
    Property Value
    Type Description
    TransactionQueryOptions
    | Edit this page View Source

    TimeoutValue

    Gets or sets the relative expiration time for this single query transaction.

    Declaration
    public TimeSpan? TimeoutValue { get; }
    Property Value
    Type Description
    TimeSpan?

    Methods

    | Edit this page View Source

    Create()

    Create a default SingleQueryTransactionConfigBuilder.

    Declaration
    public static SingleQueryTransactionConfigBuilder Create()
    Returns
    Type Description
    SingleQueryTransactionConfigBuilder

    A default instance of this type.

    | Edit this page View Source

    DurabilityLevel(DurabilityLevel)

    Set the durability for this transaction.

    Declaration
    public SingleQueryTransactionConfigBuilder DurabilityLevel(DurabilityLevel durability)
    Parameters
    Type Name Description
    DurabilityLevel durability

    The durability level to use.

    Returns
    Type Description
    SingleQueryTransactionConfigBuilder

    The builder.

    | Edit this page View Source

    QueryOptions(TransactionQueryOptions)

    Set the query-specific options for this transaction.

    Declaration
    public SingleQueryTransactionConfigBuilder QueryOptions(TransactionQueryOptions options)
    Parameters
    Type Name Description
    TransactionQueryOptions options

    The transaction query options to use.

    Returns
    Type Description
    SingleQueryTransactionConfigBuilder

    The builder.

    | Edit this page View Source

    QueryOptions(Action<TransactionQueryOptions>)

    Configure the query-specific options for this transaction.

    Declaration
    public SingleQueryTransactionConfigBuilder QueryOptions(Action<TransactionQueryOptions> configure)
    Parameters
    Type Name Description
    Action<TransactionQueryOptions> configure

    An Action to configure the query options.

    Returns
    Type Description
    SingleQueryTransactionConfigBuilder

    The builder.

    | Edit this page View Source

    Timeout(TimeSpan)

    Set the timeout of this transaction.

    Declaration
    public SingleQueryTransactionConfigBuilder Timeout(TimeSpan timeout)
    Parameters
    Type Name Description
    TimeSpan timeout

    The expiration time, relative to now.

    Returns
    Type Description
    SingleQueryTransactionConfigBuilder

    The builder.

    • Edit this page
    • View Source
    In this article
    Back to top © 2025 Couchbase, Inc.