Blame view

Yi.Abp.Net8/module/setting-management/Yi.Framework.SettingManagement.Domain/ISettingRepository.cs 809 Bytes
515fceeb   “wangming”   框架初始化
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  using System;
  using System.Collections.Generic;
  using System.Threading;
  using System.Threading.Tasks;
  using Volo.Abp.Domain.Repositories;
  
  namespace Yi.Framework.SettingManagement.Domain;
  
  public interface ISettingRepository : IBasicRepository<SettingAggregateRoot, Guid>
  {
      Task<SettingAggregateRoot> FindAsync(
          string name,
          string providerName,
          string providerKey,
          CancellationToken cancellationToken = default);
  
      Task<List<SettingAggregateRoot>> GetListAsync(
          string providerName,
          string providerKey,
          CancellationToken cancellationToken = default);
  
      Task<List<SettingAggregateRoot>> GetListAsync(
          string[] names,
          string providerName,
          string providerKey,
          CancellationToken cancellationToken = default);
  }