Argument object used in the SelectObject event.
More...
|
| | SelectObjectArgs (System.Web.UI.DataSourceSelectArguments args) |
| | Creates an instance of the object, initializing it with values from data binding.
|
|
| object? | BusinessObject [get, set] |
| | Get or set a reference to the business object that is created and populated by the SelectObject event handler in the web page.
|
| string | SortExpression [get] |
| | Gets the sort expression that should be used to sort the data being returned to the data source control.
|
| string | SortProperty = "" [get] |
| | Gets the property name for the sort if only one property/column name is specified.
|
| ListSortDirection | SortDirection [get] |
| | Gets the sort direction for the sort if only one property/column name is specified.
|
| int | StartRowIndex [get] |
| | Gets the index for the first row that will be displayed. This should be the first row in the resulting collection set into the BusinessObject property.
|
| int | MaximumRows [get] |
| | Gets the maximum number of rows that should be returned as a result of this query. For paged collections, this is the page size.
|
| bool | RetrieveTotalRowCount [get] |
| | Gets a value indicating whether the query should return the total row count through the Csla.Core.IReportTotalRowCount interface.
|
Argument object used in the SelectObject event.
◆ SelectObjectArgs()
| Csla.Web.SelectObjectArgs.SelectObjectArgs |
( |
System.Web.UI.DataSourceSelectArguments | args | ) |
|
|
inline |
Creates an instance of the object, initializing it with values from data binding.
- Parameters
-
| args | Values provided from data binding. |
- Exceptions
-
| ArgumentNullException | args is null. |
◆ BusinessObject
| object? Csla.Web.SelectObjectArgs.BusinessObject |
|
getset |
Get or set a reference to the business object that is created and populated by the SelectObject event handler in the web page.
A reference to a CSLA .NET business object.
◆ MaximumRows
| int Csla.Web.SelectObjectArgs.MaximumRows |
|
get |
Gets the maximum number of rows that should be returned as a result of this query. For paged collections, this is the page size.
◆ RetrieveTotalRowCount
| bool Csla.Web.SelectObjectArgs.RetrieveTotalRowCount |
|
get |
◆ SortDirection
| ListSortDirection Csla.Web.SelectObjectArgs.SortDirection |
|
get |
Gets the sort direction for the sort if only one property/column name is specified.
If multiple properties/columns are specified for the sort, you must parse the value from SortExpression to find all the property names and sort directions for the sort.
◆ SortExpression
| string Csla.Web.SelectObjectArgs.SortExpression |
|
get |
Gets the sort expression that should be used to sort the data being returned to the data source control.
◆ SortProperty
| string Csla.Web.SelectObjectArgs.SortProperty = "" |
|
get |
Gets the property name for the sort if only one property/column name is specified.
If multiple properties/columns are specified for the sort, you must parse the value from SortExpression to find all the property names and sort directions for the sort.
◆ StartRowIndex
| int Csla.Web.SelectObjectArgs.StartRowIndex |
|
get |
Gets the index for the first row that will be displayed. This should be the first row in the resulting collection set into the BusinessObject property.
The documentation for this class was generated from the following file: