Click or drag to resize

LLBLGenProDataSourceBaseEntityInserting Event

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.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses.Web (in SD.LLBLGen.Pro.ORMSupportClasses.Web.dll) Version: 5.4.0.0 (5.4.0)
Syntax
public event EventHandler<CancelableDataSourceActionEventArgs> EntityInserting

Value

Type: SystemEventHandlerCancelableDataSourceActionEventArgs
See Also