From 85e7ac7cd797a6b5ed04e6f76ee66f030b0cdc6c Mon Sep 17 00:00:00 2001 From: sbwalker Date: Sat, 20 Jul 2024 19:39:45 -0400 Subject: [PATCH] remove unecessary using --- Oqtane.Server/Repository/SearchContentRepository.cs | 1 - Oqtane.Shared/Models/SearchContent.cs | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Oqtane.Server/Repository/SearchContentRepository.cs b/Oqtane.Server/Repository/SearchContentRepository.cs index 8047ae95..2c2a5e17 100644 --- a/Oqtane.Server/Repository/SearchContentRepository.cs +++ b/Oqtane.Server/Repository/SearchContentRepository.cs @@ -3,7 +3,6 @@ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Query; using Oqtane.Models; using Oqtane.Shared; diff --git a/Oqtane.Shared/Models/SearchContent.cs b/Oqtane.Shared/Models/SearchContent.cs index a5e3a295..0fc4465f 100644 --- a/Oqtane.Shared/Models/SearchContent.cs +++ b/Oqtane.Shared/Models/SearchContent.cs @@ -34,11 +34,9 @@ namespace Oqtane.Models [NotMapped] public bool IsDeleted { get; set; } - public DateTime CreatedOn { get; set; } - public List SearchContentProperties { get; set; } - public List SearchContentWords { get; set; } + public DateTime CreatedOn { get; set; } [NotMapped] public int TenantId { get; set; } @@ -46,6 +44,8 @@ namespace Oqtane.Models [NotMapped] public string UniqueKey => $"{TenantId}:{SiteId}:{EntityName}:{EntityId}"; + public List SearchContentWords { get; set; } + // constructors public SearchContent() { }