SqlQuerySpec Class

Definition

Represents a SQL query in the Azure DocumentDB database service.

[System.Runtime.Serialization.DataContract]
public sealed class SqlQuerySpec
Inheritance
SqlQuerySpec
Attributes

Constructors

SqlQuerySpec()

Initializes a new instance of the SqlQuerySpec class for the Azure DocumentDB database service.

SqlQuerySpec(String)

Initializes a new instance of the SqlQuerySpec class for the Azure DocumentDB database service.

SqlQuerySpec(String, SqlParameterCollection)

Initializes a new instance of the SqlQuerySpec class for the Azure DocumentDB database service.

Properties

Parameters

Gets or sets the SqlParameterCollection instance, which represents the collection of Azure DocumentDB query parameters.

QueryText

Gets or sets the text of the Azure DocumentDB database query.

Methods

ShouldSerializeParameters()

Returns a value that indicates whether the Azure DocumentDB database Parameters property should be serialized.

Extension Methods

IsDefined(Object)
IsNull(Object)
IsPrimitive(Object)