A Web Forms data binding control designed to support CSLA .NET business objects as data sources. More...
Protected Member Functions | |
override DataSourceView | GetView (string viewName) |
Returns the default view for this data control. More... | |
override System.Collections.ICollection | GetViewNames () |
Returns a list of views available for this control. 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... | |
Events | |
EventHandler< SelectObjectArgs > | SelectObject |
Event raised when an object is to be created and populated with data. More... | |
EventHandler< InsertObjectArgs > | InsertObject |
Event raised when an object is to be populated with data and inserted. More... | |
EventHandler< UpdateObjectArgs > | UpdateObject |
Event raised when an object is to be updated. More... | |
EventHandler< DeleteObjectArgs > | DeleteObject |
Event raised when an object is to be deleted. More... | |
A Web Forms data binding control designed to support CSLA .NET business objects as data sources.
Definition at line 25 of file CslaDataSource.cs.
|
protected |
Returns the default view for this data control.
viewName | Ignored. |
This control only contains a "Default" view.
Definition at line 69 of file CslaDataSource.cs.
|
protected |
Returns a list of views available for this control.
This control only provides the "Default" view.
Definition at line 175 of file CslaDataSource.cs.
|
getset |
Get or set the name of the assembly (no longer used).
Obsolete - do not use.
Definition at line 80 of file CslaDataSource.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, including assembly name.
Definition at line 92 of file CslaDataSource.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 107 of file CslaDataSource.cs.
|
getset |
Get or set a value indicating whether the business object data source supports sorting.
Definition at line 117 of file CslaDataSource.cs.
EventHandler<DeleteObjectArgs> Csla.Web.CslaDataSource.DeleteObject |
Event raised when an object is to be deleted.
Handle this event in a page to delete an object from the database.
Definition at line 61 of file CslaDataSource.cs.
EventHandler<InsertObjectArgs> Csla.Web.CslaDataSource.InsertObject |
Event raised when an object is to be populated with data and inserted.
Handle this event in a page to create an instance of the object, load the object with data and insert the object into the database.
Definition at line 46 of file CslaDataSource.cs.
EventHandler<SelectObjectArgs> Csla.Web.CslaDataSource.SelectObject |
Event raised when an object is to be created and populated with data.
Handle this event in a page and set e.BusinessObject to the populated business object.
Definition at line 37 of file CslaDataSource.cs.
EventHandler<UpdateObjectArgs> Csla.Web.CslaDataSource.UpdateObject |
Event raised when an object is to be updated.
Handle this event in a page to update an existing instance of an object with new data and then save the object into the database.
Definition at line 54 of file CslaDataSource.cs.