SqlParameter Class

Definition

Represents a parameter associated with SqlQuerySpec in the Azure DocumentDB database service.

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

Remarks

Azure DocumentDB SQL parameters are name-value pairs referenced in parameterized queries. Unlike in relation SQL databases, they don't have types associated with them.

Constructors

SqlParameter()

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

SqlParameter(String)

Initializes a new instance of the SqlParameter class with the name of the parameter for the Azure DocumentDB database service.

SqlParameter(String, Object)

Initializes a new instance of the SqlParameter class with the name and value of the parameter for the Azure DocumentDB database service.

Properties

Name

Gets or sets the name of the parameter for the Azure DocumentDB database service.

Value

Gets or sets the value of the parameter for the Azure DocumentDB database service.

Extension Methods

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