IDocumentClient.CreateOfferQuery Method

Definition

Overloads

CreateOfferQuery(FeedOptions)

Overloaded. This method creates a query for offers under an Azure DocumentDB database service account. It returns IOrderedQueryable{Offer}.

CreateOfferQuery(SqlQuerySpec, FeedOptions)

Overloaded. This method creates a query for offers under an Azure DocumentDB database service account using a SQL statement with parameterized values. It returns an IQueryable{dynamic}. For more information on preparing SQL statements with parameterized values, please see SqlQuerySpec.

CreateOfferQuery(String, FeedOptions)

Overloaded. This method creates a query for offers under an Azure DocumentDB database service account using a SQL statement. It returns IQueryable{dynamic}.

CreateOfferQuery(FeedOptions)

Overloaded. This method creates a query for offers under an Azure DocumentDB database service account. It returns IOrderedQueryable{Offer}.

public System.Linq.IOrderedQueryable<Microsoft.Azure.Documents.Offer> CreateOfferQuery (Microsoft.Azure.Documents.Client.FeedOptions feedOptions = null);
Parameters
feedOptions
FeedOptions

The options for processing the query result feed. For details, see FeedOptions

Returns

An IOrderedQueryable{Offer} that can evaluate the query.

CreateOfferQuery(SqlQuerySpec, FeedOptions)

Overloaded. This method creates a query for offers under an Azure DocumentDB database service account using a SQL statement with parameterized values. It returns an IQueryable{dynamic}. For more information on preparing SQL statements with parameterized values, please see SqlQuerySpec.

public System.Linq.IQueryable<dynamic> CreateOfferQuery (Microsoft.Azure.Documents.SqlQuerySpec querySpec, Microsoft.Azure.Documents.Client.FeedOptions feedOptions = null);
Parameters
querySpec
SqlQuerySpec

The SqlQuerySpec instance containing the SQL expression.

feedOptions
FeedOptions

The options for processing the query result feed. For details, see FeedOptions

Returns

an IQueryable{dynamic} that can evaluate the query.

CreateOfferQuery(String, FeedOptions)

Overloaded. This method creates a query for offers under an Azure DocumentDB database service account using a SQL statement. It returns IQueryable{dynamic}.

public System.Linq.IQueryable<dynamic> CreateOfferQuery (string sqlExpression, Microsoft.Azure.Documents.Client.FeedOptions feedOptions = null);
Parameters
sqlExpression
String

The SQL statement.

feedOptions
FeedOptions

The options for processing the query result feed. For details, see FeedOptions

Returns

an IQueryable{dynamic} that can evaluate the query.