DocumentClient.CreateUserQuery Method

Definition

Overloads

CreateUserQuery(Uri, String, FeedOptions)

Extension method to create a query for users in the Azure DocumentDB database service.

CreateUserQuery(String, String, FeedOptions)

Overloaded. This method creates a query for users under an Azure DocumentDB database service. It returns IQueryable{dyanamic}.

CreateUserQuery(Uri, SqlQuerySpec, FeedOptions)

Extension method to create a query for users in the Azure DocumentDB database service.

CreateUserQuery(Uri, FeedOptions)

Extension method to create a query for users in the Azure DocumentDB database service.

CreateUserQuery(String, SqlQuerySpec, FeedOptions)

Overloaded. This method creates a query for users under an Azure DocumentDB database 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.

CreateUserQuery(String, FeedOptions)

Overloaded. This method creates a query for users under an Azure DocumentDB database service. It returns IOrderedQueryable{User}.

CreateUserQuery(Uri, String, FeedOptions)

Extension method to create a query for users in the Azure DocumentDB database service.

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

the URI to the users.

sqlExpression
String

The sql query.

feedOptions
FeedOptions

The options for processing the query results feed.

Returns

The query result set.

CreateUserQuery(String, String, FeedOptions)

Overloaded. This method creates a query for users under an Azure DocumentDB database service. It returns IQueryable{dyanamic}.

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

The path link for the users under a database, e.g. dbs/db_rid/users/.

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.

Remarks

Refer to https://msdn.microsoft.com/en-us/library/azure/dn782250.aspx and http://azure.microsoft.com/documentation/articles/documentdb-sql-query/ for syntax and examples.

CreateUserQuery(Uri, SqlQuerySpec, FeedOptions)

Extension method to create a query for users in the Azure DocumentDB database service.

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

the URI to the users.

querySpec
SqlQuerySpec

The sql query.

feedOptions
FeedOptions

The options for processing the query results feed.

Returns

The query result set.

CreateUserQuery(Uri, FeedOptions)

Extension method to create a query for users in the Azure DocumentDB database service.

public System.Linq.IOrderedQueryable<Microsoft.Azure.Documents.User> CreateUserQuery (Uri usersUri, Microsoft.Azure.Documents.Client.FeedOptions feedOptions = null);
Parameters
usersUri
Uri

the URI to the users.

feedOptions
FeedOptions

The options for processing the query results feed.

Returns

The query result set.

CreateUserQuery(String, SqlQuerySpec, FeedOptions)

Overloaded. This method creates a query for users under an Azure DocumentDB database 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> CreateUserQuery (string usersLink, Microsoft.Azure.Documents.SqlQuerySpec querySpec, Microsoft.Azure.Documents.Client.FeedOptions feedOptions = null);
Parameters
usersLink
String

The path link for the users under a database, e.g. dbs/db_rid/users/.

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.

Remarks

Refer to https://msdn.microsoft.com/en-us/library/azure/dn782250.aspx and http://azure.microsoft.com/documentation/articles/documentdb-sql-query/ for syntax and examples.

CreateUserQuery(String, FeedOptions)

Overloaded. This method creates a query for users under an Azure DocumentDB database service. It returns IOrderedQueryable{User}.

public System.Linq.IOrderedQueryable<Microsoft.Azure.Documents.User> CreateUserQuery (string usersLink, Microsoft.Azure.Documents.Client.FeedOptions feedOptions = null);
Parameters
usersLink
String

The path link for the users under a database, e.g. dbs/db_rid/users/.

feedOptions
FeedOptions

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

Returns

An IOrderedQueryable{User} that can evaluate the query.