Click or drag to resize

DataAccessAdapterCoreOnBeforeEntitySave Method

Called from PersistQueue, the internal queue processing routine, before the entity is validated and before the entity is used to create a query and actually saved. The entity passed in as entitySaved is already added to the transaction.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax
protected virtual void OnBeforeEntitySave(
	IEntity2 entitySaved,
	bool insertAction
)

Parameters

entitySaved
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntity2
Entity to be saved.
insertAction
Type: SystemBoolean
if true, the entity is in the insertqueue, otherwise the update queue.
Remarks
If not overriden calls the entity's OnBeforeEntitySave method.
See Also