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);
- feedOptions
- FeedOptions
The options for processing the query result feed. For details, see FeedOptions
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);
- querySpec
- SqlQuerySpec
The SqlQuerySpec instance containing the SQL expression.
- feedOptions
- FeedOptions
The options for processing the query result feed. For details, see FeedOptions
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);
- sqlExpression
- String
The SQL statement.
- feedOptions
- FeedOptions
The options for processing the query result feed. For details, see FeedOptions
an IQueryable{dynamic} that can evaluate the query.