Files
Yi.Admin/Yi.Abp.Net8/module/setting-management/Yi.Framework.SettingManagement.Domain/ISettingRepository.cs

28 lines
809 B
C#
Raw Normal View History

2024-04-01 14:29:33 +08:00
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Volo.Abp.Domain.Repositories;
namespace Yi.Framework.SettingManagement.Domain;
2024-06-27 18:37:49 +08:00
public interface ISettingRepository : IBasicRepository<SettingAggregateRoot, Guid>
2024-04-01 14:29:33 +08:00
{
2024-06-27 18:37:49 +08:00
Task<SettingAggregateRoot> FindAsync(
2024-04-01 14:29:33 +08:00
string name,
string providerName,
string providerKey,
CancellationToken cancellationToken = default);
2024-06-27 18:37:49 +08:00
Task<List<SettingAggregateRoot>> GetListAsync(
2024-04-01 14:29:33 +08:00
string providerName,
string providerKey,
CancellationToken cancellationToken = default);
2024-06-27 18:37:49 +08:00
Task<List<SettingAggregateRoot>> GetListAsync(
2024-04-01 14:29:33 +08:00
string[] names,
string providerName,
string providerKey,
CancellationToken cancellationToken = default);
}