| 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.3.0.0 (5.3.0)
Syntaxprotected virtual void OnBeforeEntitySave(
	IEntity2 entitySaved,
	bool insertAction
)
Protected Overridable Sub OnBeforeEntitySave ( 
	entitySaved As IEntity2,
	insertAction As Boolean
)
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. 
RemarksIf not overriden calls the entity's OnBeforeEntitySave method. 
See Also