AuditorBaseRequiresTransactionForAuditEntities Method |
Method which returns true if this auditor expects to have audit entities to persist and therefore needs a transaction.
This method is called in the situation when there's no transaction going on though one should be started right before the single-statement action
in the case if the auditor has entities to save afterwards. It's recommended to return true if the auditor might have audit entities
to persist after an entity save/delete/direct update/direct delete/direct insert of entities. Default: true
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax Remarks If false is returned and GetAuditEntitiesToSave returns 1 or more entities, a new transaction is started to save these audit entities
which means that this transaction isn't re-tryable if this transaction might fail.
See Also