This documentation is archived and is not being maintained.

QueryableFilterUserControl::GetQueryable Method

Gets the transformed IQueryable object from the source IQueryable object.

Namespace:  System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

public:
virtual IQueryable^ GetQueryable(
	IQueryable^ source
) abstract

Parameters

source
Type: System.Linq::IQueryable
The source IQueryable object.

Return Value

Type: System.Linq::IQueryable
The transformed IQueryable object from the source IQueryable object.

You must implement this method if you derive a control from QueryableFilterUserControl.

This method is implemented to transform the source IQueryable object into the target IQueryable object. Examples of IQueryable expressions that you might want to implement include order by, range, or search.

The following example shows how to implement the GetQueryable method for a Boolean filter that is derived from QueryableFilterUserControl.

No code example is currently available or this language may not be supported.

.NET Framework

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: