Muokkaa

Jaa


System.Web.UI.WebControls.Expressions Namespace

Provides classes that enable you to filter data in a Web page by using the QueryExtender control.

Classes

CustomExpression

Provides a way to specify a custom LINQ query that is called in response to an event.

CustomExpressionEventArgs

Represents the event data for the CustomExpression class.

DataSourceExpression

Represents a base class for creating expression classes.

DataSourceExpressionCollection

Represents a collection of expressions to apply to a data source control.

MethodExpression

Provides a way to specify a custom LINQ query that is defined in a method.

OfTypeExpression

Provides a way to filter a query based on a specified type.

OrderByExpression

Provides a way to apply a sort expression to an IQueryable object.

ParameterDataSourceExpression

Represents an abstract base class for ParameterDataSourceExpression objects.

PropertyExpression

Provides a way to create a Where clause from parameters in a WhereParameters collection.

QueryExpression

Retrieves instances of a specific entity type by using a complex query.

RangeExpression

Provides a way to determine whether a value is greater than or less than a specified value, or whether a value is between two specified values.

SearchExpression

Provides a way to search a field or fields for string values and compare them to a specified string value.

ThenBy

Provides a way to apply a sort expression to an IQueryable data source object after an OrderByExpression expression is applied.

Enums

RangeType

Specifies the type of numeric comparison to use in an instance of the RangeExpression class.

SearchType

Specifies the type of search in an instance of the SearchExpression class.

Remarks

This namespace contains expressions that are used with the QueryExtender control to filter data in a Web page using declarative syntax. The classes in this namespace include System.Web.UI.WebControls.Expressions.SearchExpression, System.Web.UI.WebControls.Expressions.RangeExpression, System.Web.UI.WebControls.Expressions.PropertyExpression, System.Web.UI.WebControls.Expressions.OrderByExpression and System.Web.UI.WebControls.Expressions.CustomExpression.

See also