Class EfCorePlanRepository
Inheritance
EfCorePlanRepository
Implements
IReadOnlyBasicRepository<
Plan>
IRepository
Assembly: Volo.Payment.EntityFrameworkCore.dll
Syntax
public class EfCorePlanRepository : EfCoreRepository<IPaymentDbContext, Plan, Guid>, IPlanRepository, IBasicRepository<Plan, Guid>, IBasicRepository<Plan>, IReadOnlyBasicRepository<Plan>, IRepository, IReadOnlyBasicRepository<Plan, Guid>
Constructors
EfCorePlanRepository(IDbContextProvider<IPaymentDbContext>)
Declaration
public EfCorePlanRepository(IDbContextProvider<IPaymentDbContext> dbContextProvider)
Parameters
Methods
CreateFilteredQuery(IQueryable<Plan>, string)
Declaration
protected virtual IQueryable<Plan> CreateFilteredQuery(IQueryable<Plan> queryable, string filter)
Parameters
Returns
DeleteGatewayPlanAsync(Guid, string)
Declaration
public virtual Task DeleteGatewayPlanAsync(Guid planId, string gateway)
Parameters
Returns
GetFilteredCountAsync(string, CancellationToken)
Declaration
public virtual Task<int> GetFilteredCountAsync(string filter, CancellationToken cancellationToken = default)
Parameters
Returns
GetGatewayPlanAsync(Guid, string)
Declaration
public virtual Task<GatewayPlan> GetGatewayPlanAsync(Guid planId, string gateway)
Parameters
Returns
GetGatewayPlanCountAsync(Guid, string)
Declaration
public virtual Task<int> GetGatewayPlanCountAsync(Guid planId, string filter = null)
Parameters
Returns
GetGatewayPlanPagedListAsync(Guid, int, int, string, string)
Declaration
public virtual Task<List<GatewayPlan>> GetGatewayPlanPagedListAsync(Guid planId, int skipCount, int maxResultCount, string sorting, string filter = null)
Parameters
Returns
GetManyAsync(Guid[])
Declaration
public virtual Task<List<Plan>> GetManyAsync(Guid[] ids)
Parameters
Type |
Name |
Description |
Guid[] |
ids |
|
Returns
GetPagedAndFilteredListAsync(int, int, string, string, bool, CancellationToken)
Declaration
public virtual Task<List<Plan>> GetPagedAndFilteredListAsync(int skipCount, int maxResultCount, string sorting, string filter, bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
Returns
InsertGatewayPlanAsync(GatewayPlan)
Declaration
public virtual Task InsertGatewayPlanAsync(GatewayPlan gatewayPlan)
Parameters
Returns
UpdateGatewayPlanAsync(GatewayPlan)
Declaration
public virtual Task UpdateGatewayPlanAsync(GatewayPlan gatewayPlan)
Parameters
Returns
WithDetailsAsync()
Declaration
public override Task<IQueryable<Plan>> WithDetailsAsync()
Returns
Implements
Volo.Abp.Domain.Repositories.IBasicRepository<,>
Volo.Abp.Domain.Repositories.IBasicRepository<>
Volo.Abp.Domain.Repositories.IReadOnlyBasicRepository<>
Volo.Abp.Domain.Repositories.IRepository
Volo.Abp.Domain.Repositories.IReadOnlyBasicRepository<,>