Click or drag to resize
LLBLGenProDataSource Events

The LLBLGenProDataSource type exposes the following members.

Events
  NameDescription
Public eventDataBinding
Occurs when the server control binds to a data source.
(Inherited from Control.)
Public eventDisposed
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.)
Public eventElementsFetched
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.)
Public eventEntityDeleted
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.)
Public eventEntityDeleting
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.)
Public eventEntityInserted
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.)
Public eventEntityInserting
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.)
Public eventEntityUpdated
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.)
Public eventEntityUpdating
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.)
Public eventInit
Occurs when the server control is initialized, which is the first step in its lifecycle.
(Inherited from Control.)
Public eventLoad
Occurs when the server control is loaded into the Page object.
(Inherited from Control.)
Public eventPerformGetDbCount
Event which is raised when LivePersistence is set to false and a GetDbCount has to be performed.
Public eventPerformSelect
Event which is raised when LivePersistence is set to false and a select has to be performed.
Public eventPerformWork
Event which is raised when LivePersistence is set to false and an insert/update/delete has to be performed.
Public eventPreRender
Occurs after the Control object is loaded but prior to rendering.
(Inherited from Control.)
Public eventUnload
Occurs when the server control is unloaded from memory.
(Inherited from Control.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate eventIDataSourceDataSourceChanged
Occurs when a data source control has changed in a way that affects data-bound controls.
(Inherited from DataSourceControl.)
Top
See Also