RangeExpression.GetQueryable Method (IQueryable)

.NET Framework (current version)
 

Gets the IQueryable object that the range comparison was performed on.

Namespace:   System.Web.UI.WebControls.Expressions
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public override IQueryable GetQueryable(
	IQueryable source
)

Parameters

source
Type: System.Linq.IQueryable

The object to use for the comparison.

Return Value

Type: System.Linq.IQueryable

An instance of the IQueryable object that the expression was applied to.

Exception Condition
InvalidOperationException

The DataField property is null.

-or-

The MinType and the MaxType properties are set to None.

-or-

The MinType or MaxType property is not set to None and the parameter collection is empty.

This method uses the specified IQueryable object to resolve the expression.

.NET Framework
Available since 4.0
Return to top
Show: