From 3b73fea55871a051ae16962451b782755631ad4c Mon Sep 17 00:00:00 2001 From: Yunus Emre Kalkan Date: Tue, 10 Jul 2018 15:38:43 +0300 Subject: [PATCH] [DisableAuditing] attribute in audit log entities --- .../Volo/Abp/AuditLogging/AuditLog.cs | 1 + .../Volo/Abp/AuditLogging/AuditLogAction.cs | 1 + .../Volo/Abp/AuditLogging/EntityChange.cs | 1 + .../Volo/Abp/AuditLogging/EntityPropertyChange.cs | 1 + 4 files changed, 4 insertions(+) diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/AuditLog.cs b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/AuditLog.cs index 916b5acec5..512b9c7515 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/AuditLog.cs +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/AuditLog.cs @@ -9,6 +9,7 @@ using Volo.Abp.MultiTenancy; namespace Volo.Abp.AuditLogging { + [DisableAuditing] public class AuditLog : AggregateRoot, IHasExtraProperties, IMultiTenant { public virtual Guid? UserId { get; protected set; } diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/AuditLogAction.cs b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/AuditLogAction.cs index 6fdba3443e..46af881fd2 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/AuditLogAction.cs +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/AuditLogAction.cs @@ -8,6 +8,7 @@ using Volo.Abp.MultiTenancy; namespace Volo.Abp.AuditLogging { + [DisableAuditing] public class AuditLogAction : Entity, IMultiTenant, IHasExtraProperties { public Guid? TenantId { get; protected set; } diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/EntityChange.cs b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/EntityChange.cs index b06ef57cf4..d77e2566a8 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/EntityChange.cs +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/EntityChange.cs @@ -9,6 +9,7 @@ using Volo.Abp.MultiTenancy; namespace Volo.Abp.AuditLogging { + [DisableAuditing] public class EntityChange : Entity, IMultiTenant, IHasExtraProperties { public virtual Guid AuditLogId { get; protected set; } diff --git a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/EntityPropertyChange.cs b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/EntityPropertyChange.cs index 2ce056a240..2335db84b8 100644 --- a/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/EntityPropertyChange.cs +++ b/modules/audit-logging/src/Volo.Abp.AuditLogging.Domain/Volo/Abp/AuditLogging/EntityPropertyChange.cs @@ -6,6 +6,7 @@ using Volo.Abp.MultiTenancy; namespace Volo.Abp.AuditLogging { + [DisableAuditing] public class EntityPropertyChange : Entity, IMultiTenant { public Guid? TenantId { get; protected set; }