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.7.0.0 (5.7.0)
Syntax protected 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.
Remarks If not overriden calls the entity's OnBeforeEntitySave method.
See Also