Click or drag to resize
LLBLGenProDataSourceBaseEntityInserted Event
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.

Namespace: SD.LLBLGen.Pro.ORMSupportClasses
Assembly: SD.LLBLGen.Pro.ORMSupportClasses.Web (in SD.LLBLGen.Pro.ORMSupportClasses.Web.dll) Version: 5.0.0.0 (5.0.0)
Syntax
public event EventHandler<DataSourceActionEventArgs> EntityInserted

Value

Type: SystemEventHandlerDataSourceActionEventArgs
Remarks
Be aware that if you're using Adapter the entity is in general 'out-of-sync' so you can only access PK values without a problem. This is in general not a problem as this event is mostly used to obtain a newly inserted PK value of a new entity.
See Also