The object responsible for managing data binding to a specific CSLA .NET object. More...
Public Member Functions | |
CslaDataSourceView (CslaDataSource owner, string viewName) | |
Creates an instance of the object. More... | |
Protected Member Functions | |
override System.Collections.IEnumerable | ExecuteSelect (DataSourceSelectArguments arguments) |
Implements the select behavior for the control by raising the CslaDataSource.SelectObject event. More... | |
override int | ExecuteInsert (IDictionary values) |
Implements the insert behavior for the control by raising the CslaDataSource.InsertObject event. More... | |
override int | ExecuteDelete (IDictionary keys, IDictionary oldValues) |
Implements the delete behavior for the control by raising the CslaDataSource.DeleteObject event. More... | |
override int | ExecuteUpdate (IDictionary keys, IDictionary values, IDictionary oldValues) |
Implements the update behavior for the control by raising the CslaDataSource.UpdateObject event. More... | |
Properties | |
string | TypeAssemblyName [getset] |
Get or set the name of the assembly (no longer used). More... | |
string | TypeName [getset] |
Get or set the full type name of the business object class to be used as a data source. More... | |
bool | TypeSupportsPaging [getset] |
Get or set a value indicating whether the business object data source supports paging. More... | |
bool | TypeSupportsSorting [getset] |
Get or set a value indicating whether the business object data source supports sorting. More... | |
override bool | CanInsert [get] |
Gets a value indicating whether the data source can insert data. More... | |
override bool | CanDelete [get] |
Gets a value indicating whether the data source can delete data. More... | |
override bool | CanUpdate [get] |
Gets a value indicating whether the data source can update data. More... | |
override bool | CanPage [get] |
Gets a value indicating whether the data source supports paging of the data. More... | |
override bool | CanRetrieveTotalRowCount [get] |
Gets a value indicating whether the data source can retrieve the total number of rows of data. More... | |
override bool | CanSort [get] |
Gets a alue indicating whether the data source supports sorting of the data. More... | |
The object responsible for managing data binding to a specific CSLA .NET object.
Definition at line 19 of file CslaDataSourceView.cs.
Csla.Web.CslaDataSourceView.CslaDataSourceView | ( | CslaDataSource | owner, |
string | viewName | ||
) |
Creates an instance of the object.
owner | The CslaDataSource object that owns this view. |
viewName | The name of the view. |
Definition at line 34 of file CslaDataSourceView.cs.
|
protected |
Implements the delete behavior for the control by raising the CslaDataSource.DeleteObject event.
keys | The key values from the UI that are to be deleted. |
oldValues | The old values from the UI. |
Definition at line 207 of file CslaDataSourceView.cs.
|
protected |
Implements the insert behavior for the control by raising the CslaDataSource.InsertObject event.
values | The values from the UI that are to be inserted. |
Definition at line 167 of file CslaDataSourceView.cs.
|
protected |
Implements the select behavior for the control by raising the CslaDataSource.SelectObject event.
arguments | Arguments object. |
Definition at line 96 of file CslaDataSourceView.cs.
|
protected |
Implements the update behavior for the control by raising the CslaDataSource.UpdateObject event.
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. |
Definition at line 248 of file CslaDataSourceView.cs.
|
get |
Gets a value indicating whether the data source can delete data.
Definition at line 185 of file CslaDataSourceView.cs.
|
get |
Gets a value indicating whether the data source can insert data.
Definition at line 147 of file CslaDataSourceView.cs.
|
get |
Gets a value indicating whether the data source supports paging of the data.
Definition at line 264 of file CslaDataSourceView.cs.
|
get |
Gets a value indicating whether the data source can retrieve the total number of rows of data.
Always returns true.
Definition at line 277 of file CslaDataSourceView.cs.
|
get |
Gets a alue indicating whether the data source supports sorting of the data.
Always returns false.
Definition at line 286 of file CslaDataSourceView.cs.
|
get |
Gets a value indicating whether the data source can update data.
Definition at line 224 of file CslaDataSourceView.cs.
|
getset |
Get or set the name of the assembly (no longer used).
Obsolete - do not use.
Definition at line 44 of file CslaDataSourceView.cs.
|
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.
Definition at line 55 of file CslaDataSourceView.cs.
|
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.
Definition at line 70 of file CslaDataSourceView.cs.
|
getset |
Get or set a value indicating whether the business object data source supports sorting.
Definition at line 80 of file CslaDataSourceView.cs.