System.Web.UI.WebControls.Expressions 命名空間

System.Web.UI.WebControls.Expressions 命名空間提供類別,可讓您藉由使用 QueryExtender 控制項來篩選網頁中的資料。 The System.Web.UI.WebControls.Expressions namespace provides classes that enable you to filter data in a Web page by using the QueryExtender control.

類別

CustomExpression

提供方法來指定要呼叫以回應事件的自訂 LINQ 查詢。Provides a way to specify a custom LINQ query that is called in response to an event.

CustomExpressionEventArgs

表示 CustomExpression 類別的事件資料。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

提供方式,來指定方法中所定義的自訂 LINQ 查詢。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

提供方法,將排序運算式套用至 IQueryable 物件。Provides a way to apply a sort expression to an IQueryable object.

ParameterDataSourceExpression

表示 ParameterDataSourceExpression 物件的抽象基底類別。Represents an abstract base class for ParameterDataSourceExpression objects.

PropertyExpression

提供方法從 Where 集合中的參數建立 WhereParameters 子句。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

提供方法在套用 IQueryable 運算式之後,將排序運算式套用至 OrderByExpression 資料來源物件。Provides a way to apply a sort expression to an IQueryable data source object after an OrderByExpression expression is applied.

列舉

RangeType

指定要在 RangeExpression 類別之執行個體中使用的數值比較型別。Specifies the type of numeric comparison to use in an instance of the RangeExpression class.

SearchType

指定 SearchExpression 類別執行個體中的搜尋類型。Specifies the type of search in an instance of the SearchExpression class.

備註

這個命名空間包含與搭配使用的運算式QueryExtender在使用宣告式語法的網頁中篩選資料的控制項。This namespace contains expressions that are used with the QueryExtender control to filter data in a Web page using declarative syntax. 此命名空間中的類別包含System.Web.UI.WebControls.Expressions.SearchExpressionSystem.Web.UI.WebControls.Expressions.RangeExpressionSystem.Web.UI.WebControls.Expressions.PropertyExpressionSystem.Web.UI.WebControls.Expressions.OrderByExpressionSystem.Web.UI.WebControls.Expressions.CustomExpressionThe 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.

另請參閱