zhengyuxuan
2025-04-11 906dbfc74b270b958ba959b9c54f0d2133b41e44
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
using Volo.Abp.Domain.Entities;
using Volo.Abp.Domain.Repositories.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;
 
namespace LifePayment.EntityFrameworkCore
{
    public class LifePaymentServicesRepositoryBase<TEntity>
      : EfCoreRepository<LifePaymentServicesDbContext, TEntity>
        where TEntity : class, IEntity
    {
        public LifePaymentServicesRepositoryBase(IDbContextProvider<LifePaymentServicesDbContext> dbContextProvider)
            : base(dbContextProvider)
        {
        }
    }
 
    public class LifePaymentServicesRepositoryBase<TEntity, TKey>
        : EfCoreRepository<LifePaymentServicesDbContext, TEntity, TKey>
          where TEntity : class, IEntity<TKey>
    {
        public LifePaymentServicesRepositoryBase(IDbContextProvider<LifePaymentServicesDbContext> dbContextProvider)
            : base(dbContextProvider)
        {
        }
    }
}