Redigera

Dela via


SearchExpression.GetQueryable(IQueryable) Method

Definition

Applies a SearchExpression object to the specified IQueryable object based on the SearchType object.

public:
 override System::Linq::IQueryable ^ GetQueryable(System::Linq::IQueryable ^ source);
public override System.Linq.IQueryable GetQueryable (System.Linq.IQueryable source);
override this.GetQueryable : System.Linq.IQueryable -> System.Linq.IQueryable
Public Overrides Function GetQueryable (source As IQueryable) As IQueryable

Parameters

source
IQueryable

The object to use.

Returns

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

Exceptions

The DataFields property is null.

Remarks

This property evaluates the collection of parameters that are used in the SearchExpression object and applies the expression to the IQueryable object. If multiple data fields are specified, the AND operator is applied to the data fields.

Applies to