Redigera

Dela via


RequestOptions<TDocument> Class

Definition

Defines parameters to be used by store engine.

generic <typename TDocument>
public ref class RequestOptions : System::Cloud::DocumentDb::RequestOptions
public class RequestOptions<TDocument> : System.Cloud.DocumentDb.RequestOptions
type RequestOptions<'Document> = class
    inherit RequestOptions
Public Class RequestOptions(Of TDocument)
Inherits RequestOptions

Type Parameters

TDocument

The document entity type to be used as a table schema. Operation results from database will be mapped to instance of this type.

Inheritance
RequestOptions<TDocument>
Derived

Remarks

Not all parameters supported by all APIs and engines. Unsupported parameters are ignored.

Constructors

RequestOptions<TDocument>()

Properties

ConsistencyLevel

Gets or sets the consistency level required for the request.

(Inherited from RequestOptions)
ContentResponseOnWrite

Gets or sets a value indicating whether written object should be returned back after write operations.

(Inherited from RequestOptions)
Document

Gets or sets the document value.

ItemVersion

Gets or sets the item version parameter to control item version for concurrent modifications.

(Inherited from RequestOptions)
PartitionKey

Gets or sets the partition key elements for the current request.

(Inherited from RequestOptions)
Region

Gets or sets the region ID.

(Inherited from RequestOptions)
SessionToken

Gets or sets the token for use with session consistency.

(Inherited from RequestOptions)

Applies to