ensure UniqueKey is unique by including TenantId and SiteId
This commit is contained in:
parent
7f6a08ae50
commit
aaf3cdfdac
@ -37,7 +37,7 @@ namespace Oqtane.Models
|
||||
public List<SearchContentWord> SearchContentWords { get; set; }
|
||||
|
||||
[NotMapped]
|
||||
public string UniqueKey => $"{EntityName}:{EntityId}";
|
||||
public string UniqueKey => $"{TenantId}:{SiteId}:{EntityName}:{EntityId}";
|
||||
|
||||
[NotMapped]
|
||||
public int TenantId { get; set; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user