IDocumentClient.CreateStoredProcedureQuery
Method
Definition
Overloads
| CreateStoredProcedureQuery(String, FeedOptions) |
Overloaded. This method creates a query for stored procedures under a collection in the Azure DocumentDB database service. It returns An IOrderedQueryable{StoredProcedure>. |
| CreateStoredProcedureQuery(Uri, FeedOptions) |
Method to create query for stored procedures in the Azure DocumentDB database service. |
| CreateStoredProcedureQuery(String, SqlQuerySpec, FeedOptions) |
Overloaded. This method creates a query for stored procedures under a collection in the Azure DocumentDB database service using a SQL statement 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. |
| CreateStoredProcedureQuery(String, String, FeedOptions) |
Overloaded. This method creates a query for stored procedures under a collection in the Azure DocumentDB database service using a SQL statement. It returns an IQueryable{dynamic}. |
| CreateStoredProcedureQuery(Uri, SqlQuerySpec, FeedOptions) |
Method to create query for stored procedures in the Azure DocumentDB database service. |
| CreateStoredProcedureQuery(Uri, String, FeedOptions) |
Method to create query for stored procedures in the Azure DocumentDB database service. |
CreateStoredProcedureQuery(String, FeedOptions)
Overloaded. This method creates a query for stored procedures under a collection in the Azure DocumentDB database service. It returns An IOrderedQueryable{StoredProcedure>.
public System.Linq.IOrderedQueryable<Microsoft.Azure.Documents.StoredProcedure> CreateStoredProcedureQuery (string collectionLink, Microsoft.Azure.Documents.Client.FeedOptions feedOptions = null);
- collectionLink
- String
The link to the parent collection resource.
- feedOptions
- FeedOptions
The options for processing the query result feed. For details, see FeedOptions
An IOrderedQueryable{StoredProcedure} that can evaluate the query with the provided SQL statement.
CreateStoredProcedureQuery(Uri, FeedOptions)
Method to create query for stored procedures in the Azure DocumentDB database service.
public System.Linq.IOrderedQueryable<Microsoft.Azure.Documents.StoredProcedure> CreateStoredProcedureQuery (Uri documentCollectionUri, Microsoft.Azure.Documents.Client.FeedOptions feedOptions = null);
- documentCollectionUri
- Uri
The URI of the parent document collection.
- feedOptions
- FeedOptions
(Optional) The FeedOptions for processing the query results feed.
The query result set.
CreateStoredProcedureQuery(String, SqlQuerySpec, FeedOptions)
Overloaded. This method creates a query for stored procedures under a collection in the Azure DocumentDB database service using a SQL statement 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> CreateStoredProcedureQuery (string collectionLink, Microsoft.Azure.Documents.SqlQuerySpec querySpec, Microsoft.Azure.Documents.Client.FeedOptions feedOptions = null);
- collectionLink
- String
The link to the parent collection resource.
- 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 with the provided SQL statement.
CreateStoredProcedureQuery(String, String, FeedOptions)
Overloaded. This method creates a query for stored procedures under a collection in the Azure DocumentDB database service using a SQL statement. It returns an IQueryable{dynamic}.
public System.Linq.IQueryable<dynamic> CreateStoredProcedureQuery (string collectionLink, string sqlExpression, Microsoft.Azure.Documents.Client.FeedOptions feedOptions = null);
- collectionLink
- String
The link to the parent collection resource.
- 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 with the provided SQL statement.
CreateStoredProcedureQuery(Uri, SqlQuerySpec, FeedOptions)
Method to create query for stored procedures in the Azure DocumentDB database service.
public System.Linq.IQueryable<dynamic> CreateStoredProcedureQuery (Uri documentCollectionUri, Microsoft.Azure.Documents.SqlQuerySpec querySpec, Microsoft.Azure.Documents.Client.FeedOptions feedOptions = null);
- documentCollectionUri
- Uri
The URI of the parent document collection.
- querySpec
- SqlQuerySpec
The sql query.
- feedOptions
- FeedOptions
(Optional) The FeedOptions for processing the query results feed.
The query result set.
CreateStoredProcedureQuery(Uri, String, FeedOptions)
Method to create query for stored procedures in the Azure DocumentDB database service.
public System.Linq.IQueryable<dynamic> CreateStoredProcedureQuery (Uri documentCollectionUri, string sqlExpression, Microsoft.Azure.Documents.Client.FeedOptions feedOptions = null);
- documentCollectionUri
- Uri
The URI of the parent document collection.
- sqlExpression
- String
The sql query.
- feedOptions
- FeedOptions
(Optional) The FeedOptions for processing the query results feed.
The query result set.