|IAuditorAuditEntityFieldGet Method |
Audits when an entity field's value is succesfully obtained from the passed in entity
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 188.8.131.52 (5.3.0)
Sub AuditEntityFieldGet (
entity As IEntityCore,
fieldIndex As Integer
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCore
The entity a field's value was obtained.
- Type: SystemInt32
Index of the field which value was obtained.
Be careful when using this auditing routine, because a lot of calls will be made to this routine when data is for example shown in
a grid. Another thing to realize is that the audit information is stored inside the auditor which is inside an entity which might not be
persisted/deleted later on. This means that if you use the audit data to produce entities which are then returned by GetAuditEntitiesToSave
are never persisted if the entity this auditor is the auditor of is never persisted/deleted. In that situation, to get reliable journalling,
use an external service to log the audit data.