QueryableExtensionsAsFilterT Method

ScaleOut Software NamedCache API

Namespace:  Soss.Client
Assembly:  soss_namedcache (in soss_namedcache.dll) Version: 6.1.0.0
Syntax

public static IFilter AsFilter<T>(
	this IQueryable<T> source
)

Parameters

source
Type: System.LinqIQueryableT
The sequence to type as an IFilter.

Type Parameters

T
The type of the elements of source.

Return Value

Type: IFilter
A representation of the query suitable for processing on the StateServer.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQueryableT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks

Only the filtering components of source are used when the IFilter is processed by an Invoke or Query(IFilter) method. Filtering operations include filtering by Type and any Where clauses. Operations such as Select or OrderBy are ignored when the IFilter is processed.
See Also

Reference

Other Resources