![]() |
CSLA .NET 10.0.0
A home for your business logic
|
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. | |
| override System.Collections.ICollection | GetViewNames () |
| Returns a list of views available for this control. | |
Properties | |
| 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. | |
Events | |
| EventHandler< SelectObjectArgs >? | SelectObject |
| Event raised when an object is to be created and populated with data. | |
| EventHandler< InsertObjectArgs >? | InsertObject |
| Event raised when an object is to be populated with data and inserted. | |
| EventHandler< UpdateObjectArgs >? | UpdateObject |
| Event raised when an object is to be updated. | |
| EventHandler< DeleteObjectArgs >? | DeleteObject |
| Event raised when an object is to be deleted. | |
A Web Forms data binding control designed to support CSLA .NET business objects as data sources.
|
inlineprotected |
Returns the default view for this data control.
| viewName | Ignored. |
This control only contains a "Default" view.
|
inlineprotected |
Returns a list of views available for this control.
This control only provides the "Default" view.
|
getset |
Get or set the name of the assembly (no longer used).
Obsolete - do not use.
|
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.
|
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.
|
getset |
Get or set a value indicating whether the business object data source supports sorting.
| 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.
| 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.
| 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.
| 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.