DocumentServiceQueryable.AsJPath<TSource, TResult> Method (IOrderedQueryable<TSource>, Expression<Func<String>>)

Creates and returns a JPATH query.

Namespace:  Microsoft.Azure.Documents.Linq
Assembly:  Microsoft.Azure.Documents.Client (in Microsoft.Azure.Documents.Client.dll)

public static IQueryable<TResult> AsJPath<TSource, TResult>(
	this IOrderedQueryable<TSource> source,
	Expression<Func<string>> slashExpression
)

Type Parameters

TSource

The source type.

TResult

The result type.

Parameters

source
Type: System.Linq.IOrderedQueryable<TSource>
The source result set.
slashExpression
Type: System.Linq.Expressions.Expression<Func<String>>
The slash expression.

Return Value

Type: System.Linq.IQueryable<TResult>
The query result set.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IOrderedQueryable<TSource>. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936.aspx or https://msdn.microsoft.com/en-us/library/bb383977.aspx.
Show: