Improvements, refactoring, fixes, etc...
This commit is contained in:
parent
f4549f11b1
commit
bf21342abb
|
|
@ -0,0 +1,8 @@
|
|||
using AyCode.Interfaces.Entities;
|
||||
using Nop.Core;
|
||||
|
||||
namespace Mango.Nop.Core.Entities;
|
||||
|
||||
public class EntityBase : BaseEntity, IEntityInt
|
||||
{
|
||||
}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
using AyCode.Interfaces.Entities;
|
||||
using Nop.Core.Domain.Common;
|
||||
|
||||
namespace Mango.Nop.Core.Interfaces;
|
||||
|
||||
// ReSharper disable once PossibleInterfaceMemberAmbiguity
|
||||
public interface ISoftRemoveEntity : IAcSoftRemoveEntity, ISoftDeletedEntity
|
||||
{
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
using AyCode.Interfaces.Entities;
|
||||
|
||||
namespace Mango.Nop.Core.Interfaces;
|
||||
|
||||
// ReSharper disable once PossibleInterfaceMemberAmbiguity
|
||||
public interface ISoftRemoveEntityInt : IAcSoftRemoveEntityInt, ISoftRemoveEntity
|
||||
{
|
||||
|
||||
}
|
||||
|
|
@ -11,6 +11,11 @@
|
|||
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="8.0.10" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\..\NopCommerce\Libraries\Nop.Core\Nop.Core.csproj" />
|
||||
<ProjectReference Include="..\..\..\..\NopCommerce\Libraries\Nop.Data\Nop.Data.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="AyCode.Core">
|
||||
<HintPath>..\..\..\..\..\..\Aycode\Source\AyCode.Core\AyCode.Services.Server\bin\Debug\net8.0\AyCode.Core.dll</HintPath>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,15 @@
|
|||
using System.Linq.Expressions;
|
||||
using Nop.Core;
|
||||
using Nop.Core.Caching;
|
||||
using Nop.Core.Configuration;
|
||||
using Nop.Core.Events;
|
||||
using Nop.Data;
|
||||
|
||||
namespace Mango.Nop.Core.Repositories;
|
||||
|
||||
public class DalBase<TEntity> : EntityRepository<TEntity> where TEntity : BaseEntity
|
||||
{
|
||||
public DalBase(IEventPublisher eventPublisher, INopDataProvider dataProvider, IShortTermCacheManager shortTermCacheManager, IStaticCacheManager staticCacheManager, AppSettings appSettings) : base(eventPublisher, dataProvider, shortTermCacheManager, staticCacheManager, appSettings)
|
||||
{
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue