AuditDelete() public static method

public static AuditDelete ( IDbConnection connection, string schema, AuditDeleteRequest request ) : void
connection IDbConnection
schema string
request AuditDeleteRequest
return void
示例#1
0
        public override void OnAudit(IDeleteRequestHandler handler)
        {
            var auditRequest = GetAuditDeleteRequest(handler);

            if (auditRequest != null)
            {
                AuditLogService.AuditDelete(handler.UnitOfWork.Connection, RowRegistry.GetConnectionKey(handler.Row), auditRequest);
            }
        }
        public override void OnAudit(IDeleteRequestHandler handler)
        {
            var auditRequest = GetAuditDeleteRequest(handler);

            if (auditRequest != null)
            {
                AuditLogService.AuditDelete(handler.UnitOfWork.Connection, handler.Row.GetFields().ConnectionKey, auditRequest);
            }
        }
示例#3
0
        protected virtual void DoGenericAudit()
        {
            var auditRequest = GetAuditRequest();

            if (auditRequest != null)
            {
                AuditLogService.AuditDelete(Connection, RowRegistry.GetConnectionKey(Row), auditRequest);
            }
        }