جزئیات خطا
> >
ErrorLogId 15111
CreatedBy 1
CreatedOn 8/14/2023 11:17:16 AM
HttpCode 0
IP 127.0.0.1
UserAgent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0
Message BatchDelete - msg: An error occurred while updating the entries. See the inner exception for details.
InnerException: An error occurred while updating the entries. See the inner exception for details.
InnerInnerException: The DELETE statement conflicted with the REFERENCE constraint "FK_AuditType_Menu_AuditType". The conflict occurred in database "Auditing_Auditit.ir_121", table "Common.AuditType_Menu", column 'AuditTypeId'. The statement has been terminated.
TargetSite==SaveChanges
StackTrace= at System.Data.Entity.Internal.InternalContext.SaveChanges() at System.Data.Entity.Internal.LazyInternalContext.SaveChanges() at System.Data.Entity.DbContext.SaveChanges() at Auditing.Framework.RepositoryDesignPattern.BaseRepository`3.SaveChanges() in D:\Projects\AuditIt\Audit\Auditing\Models\Framework\RepositoryDesignPattern\BaseRepository.cs:line 307 at Auditing.Framework.RepositoryDesignPattern.BaseRepository`3.Delete(List`1 list_Entity) in D:\Projects\AuditIt\Audit\Auditing\Models\Framework\RepositoryDesignPattern\BaseRepository.cs:line 269
RecordData
بازگشت به لیست