LLBLGenProDataSource Events |
The LLBLGenProDataSource type exposes the following members.
Name | Description | |
---|---|---|
DataBinding | Occurs when the server control binds to a data source. (Inherited from Control.) | |
Disposed | Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested. (Inherited from Control.) | |
ElementsFetched |
Event which is raised when LivePersistence is set to true and the datasource control has performed a fetch of elements (be it entities, a typed list or
a typedview). Use this event to be able to perform actions when a fetch takes place. The sender of the event is the datasource control so use that
object to obtain the data fetched.
(Inherited from LLBLGenProDataSourceBase.) | |
EntityDeleted |
Event which is raised when LivePersistence is set to true and an entity was deleted successfully. The deleted entity is part of the
event args.
(Inherited from LLBLGenProDataSourceBase.) | |
EntityDeleting |
Event which is raised when this datasource control is about to perform the delete action on an entity. If LivePersistence is set to false,
this event is raised right before the entity to delete is added to the unitofwork(2) object. Cancelling this event will abort the delete action and
the entity won't be inserted. The entity to delete is part of the event args.
(Inherited from LLBLGenProDataSourceBase.) | |
EntityInserted |
Event which is raised when LivePersistence is set to true and an entity was inserted successfully. The inserted entity is part of the
event args.
(Inherited from LLBLGenProDataSourceBase.) | |
EntityInserting |
Event which is raised when this datasource control is about to perform the Insert action on an entity. If LivePersistence is set to false,
this event is raised right before the entity to insert is added to the unitofwork(2) object. Cancelling this event will abort the insert action and
the entity won't be inserted. The entity to insert is part of the event args.
(Inherited from LLBLGenProDataSourceBase.) | |
EntityUpdated |
Event which is raised when LivePersistence is set to true and an entity was updated successfully. The updated entity is part of the
event args.
(Inherited from LLBLGenProDataSourceBase.) | |
EntityUpdating |
Event which is raised when this datasource control is about to perform the update action on an entity. If LivePersistence is set to false,
this event is raised right before the entity to update is added to the unitofwork(2) object. Cancelling this event will abort the update action and
the entity won't be inserted. The entity to update is part of the event args.
(Inherited from LLBLGenProDataSourceBase.) | |
Init | Occurs when the server control is initialized, which is the first step in its lifecycle. (Inherited from Control.) | |
Load | Occurs when the server control is loaded into the Page object. (Inherited from Control.) | |
PerformGetDbCount |
Event which is raised when LivePersistence is set to false and a GetDbCount has to be performed.
| |
PerformSelect |
Event which is raised when LivePersistence is set to false and a select has to be performed.
| |
PerformWork |
Event which is raised when LivePersistence is set to false and an insert/update/delete has to be performed.
| |
PreRender | Occurs after the Control object is loaded but prior to rendering. (Inherited from Control.) | |
Unload | Occurs when the server control is unloaded from memory. (Inherited from Control.) |
Name | Description | |
---|---|---|
IDataSourceDataSourceChanged | Occurs when a data source control has changed in a way that affects data-bound controls. (Inherited from DataSourceControl.) |