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)
|
{
|
}
|
}
|
}
|