The object responsible for managing data binding to a specific CSLA .NET object.
More...
|
| string | TypeAssemblyName = "" [get, set] |
| | Get or set the name of the assembly (no longer used).
|
| string | TypeName = "" [get, set] |
| | Get or set the full type name of the business object class to be used as a data source.
|
| bool | TypeSupportsPaging [get, set] |
| | Get or set a value indicating whether the business object data source supports paging.
|
| bool | TypeSupportsSorting [get, set] |
| | Get or set a value indicating whether the business object data source supports sorting.
|
| override bool | CanInsert [get] |
| | Gets a value indicating whether the data source can insert data.
|
| override bool | CanDelete [get] |
| | Gets a value indicating whether the data source can delete data.
|
| override bool | CanUpdate [get] |
| | Gets a value indicating whether the data source can update data.
|
| override bool | CanPage [get] |
| | Gets a value indicating whether the data source supports paging of the data.
|
| override bool | CanRetrieveTotalRowCount [get] |
| | Gets a value indicating whether the data source can retrieve the total number of rows of data. Always returns true.
|
| override bool | CanSort [get] |
| | Gets a alue indicating whether the data source supports sorting of the data. Always returns false.
|
The object responsible for managing data binding to a specific CSLA .NET object.
◆ CslaDataSourceView()
| Csla.Web.CslaDataSourceView.CslaDataSourceView |
( |
CslaDataSource | owner, |
|
|
string | viewName ) |
|
inline |
Creates an instance of the object.
- Parameters
-
| owner | The CslaDataSource object that owns this view. |
| viewName | The name of the view. |
- Exceptions
-
| ArgumentNullException | owner or viewName is null. |
◆ ExecuteDelete()
| override int Csla.Web.CslaDataSourceView.ExecuteDelete |
( |
IDictionary | keys, |
|
|
IDictionary | oldValues ) |
|
inlineprotected |
Implements the delete behavior for the control by raising the CslaDataSource.DeleteObject event.
- Parameters
-
| keys | The key values from the UI that are to be deleted. |
| oldValues | The old values from the UI. |
- Returns
- The number of rows affected.
◆ ExecuteInsert()
| override int Csla.Web.CslaDataSourceView.ExecuteInsert |
( |
IDictionary | values | ) |
|
|
inlineprotected |
Implements the insert behavior for the control by raising the CslaDataSource.InsertObject event.
- Parameters
-
| values | The values from the UI that are to be inserted. |
- Returns
- The number of rows affected.
◆ ExecuteSelect()
| override IEnumerable Csla.Web.CslaDataSourceView.ExecuteSelect |
( |
DataSourceSelectArguments | arguments | ) |
|
|
inlineprotected |
Implements the select behavior for the control by raising the CslaDataSource.SelectObject event.
- Parameters
-
| arguments | Arguments object. |
- Returns
- The data returned from the select.
◆ ExecuteUpdate()
| override int Csla.Web.CslaDataSourceView.ExecuteUpdate |
( |
IDictionary | keys, |
|
|
IDictionary | values, |
|
|
IDictionary | oldValues ) |
|
inlineprotected |
Implements the update behavior for the control by raising the CslaDataSource.UpdateObject event.
- Parameters
-
| keys | The key values from the UI that identify the object to be updated. |
| values | The values from the UI that are to be inserted. |
| oldValues | The old values from the UI. |
- Returns
- The number of rows affected.
◆ CanDelete
| override bool Csla.Web.CslaDataSourceView.CanDelete |
|
get |
Gets a value indicating whether the data source can delete data.
◆ CanInsert
| override bool Csla.Web.CslaDataSourceView.CanInsert |
|
get |
Gets a value indicating whether the data source can insert data.
◆ CanPage
| override bool Csla.Web.CslaDataSourceView.CanPage |
|
get |
Gets a value indicating whether the data source supports paging of the data.
◆ CanRetrieveTotalRowCount
| override bool Csla.Web.CslaDataSourceView.CanRetrieveTotalRowCount |
|
get |
Gets a value indicating whether the data source can retrieve the total number of rows of data. Always returns true.
◆ CanSort
| override bool Csla.Web.CslaDataSourceView.CanSort |
|
get |
Gets a alue indicating whether the data source supports sorting of the data. Always returns false.
◆ CanUpdate
| override bool Csla.Web.CslaDataSourceView.CanUpdate |
|
get |
Gets a value indicating whether the data source can update data.
◆ TypeAssemblyName
| string Csla.Web.CslaDataSourceView.TypeAssemblyName = "" |
|
getset |
Get or set the name of the assembly (no longer used).
Obsolete - do not use.
◆ TypeName
| string Csla.Web.CslaDataSourceView.TypeName = "" |
|
getset |
Get or set the full type name of the business object class to be used as a data source.
Full type name of the business class.
◆ TypeSupportsPaging
| bool Csla.Web.CslaDataSourceView.TypeSupportsPaging |
|
getset |
Get or set a value indicating whether the business object data source supports paging.
To support paging, the business object (collection) must implement Csla.Core.IReportTotalRowCount.
◆ TypeSupportsSorting
| bool Csla.Web.CslaDataSourceView.TypeSupportsSorting |
|
getset |
Get or set a value indicating whether the business object data source supports sorting.
The documentation for this class was generated from the following file: