You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
958 B
C#

using NPin.Framework.SettingManagement.Domain.Entities;
using Volo.Abp.Domain.Repositories;
namespace NPin.Framework.SettingManagement.Domain;
public interface ISettingRepository: IBasicRepository<SettingEntity, Guid>
{
Task<SettingEntity?> FindAsync(
string name,
string providerName,
string providerKey,
CancellationToken cancellationToken = default);
Task<List<SettingEntity>> GetListAsync(
string providerName,
string providerKey,
CancellationToken cancellationToken = default);
Task<List<SettingEntity>> GetListByPrefixAsync(
string prefix,
string providerName,
string providerKey,
CancellationToken cancellationToken = default);
Task<List<SettingEntity>> GetListAsync(
string[] names,
string providerName,
string providerKey,
CancellationToken cancellationToken = default);
}