Show / Hide Table of Contents

Class EfCorePlanRepository

Inheritance
object
BasicRepositoryBase<Plan>
RepositoryBase<Plan>
EfCoreRepository<IPaymentDbContext, Plan>
EfCoreRepository<IPaymentDbContext, Plan, Guid>
EfCorePlanRepository
Implements
IServiceProviderAccessor
IUnitOfWorkEnabled
IUnitOfWorkManagerAccessor
IEfCoreRepository<Plan, Guid>
IEfCoreRepository<Plan>
IRepository<Plan, Guid>
IRepository<Plan>
IReadOnlyRepository<Plan, Guid>
IReadOnlyRepository<Plan>
IBasicRepository<Plan, Guid>
ISupportsExplicitLoading<Plan>
IPlanRepository
IBasicRepository<Plan, Guid>
IBasicRepository<Plan>
IReadOnlyBasicRepository<Plan, Guid>
IReadOnlyBasicRepository<Plan>
IRepository
Inherited Members
EfCoreRepository<IPaymentDbContext, Plan, Guid>.GetAsync(Guid, bool, CancellationToken)
EfCoreRepository<IPaymentDbContext, Plan, Guid>.FindAsync(Guid, bool, CancellationToken)
EfCoreRepository<IPaymentDbContext, Plan, Guid>.DeleteAsync(Guid, bool, CancellationToken)
EfCoreRepository<IPaymentDbContext, Plan, Guid>.DeleteManyAsync(IEnumerable<Guid>, bool, CancellationToken)
EfCoreRepository<IPaymentDbContext, Plan>.GetDbContextAsync()
EfCoreRepository<IPaymentDbContext, Plan>.GetDbSetAsync()
EfCoreRepository<IPaymentDbContext, Plan>.GetDbConnectionAsync()
EfCoreRepository<IPaymentDbContext, Plan>.GetDbTransactionAsync()
EfCoreRepository<IPaymentDbContext, Plan>.InsertAsync(Plan, bool, CancellationToken)
EfCoreRepository<IPaymentDbContext, Plan>.InsertManyAsync(IEnumerable<Plan>, bool, CancellationToken)
EfCoreRepository<IPaymentDbContext, Plan>.UpdateAsync(Plan, bool, CancellationToken)
EfCoreRepository<IPaymentDbContext, Plan>.UpdateManyAsync(IEnumerable<Plan>, bool, CancellationToken)
EfCoreRepository<IPaymentDbContext, Plan>.DeleteAsync(Plan, bool, CancellationToken)
EfCoreRepository<IPaymentDbContext, Plan>.DeleteManyAsync(IEnumerable<Plan>, bool, CancellationToken)
EfCoreRepository<IPaymentDbContext, Plan>.GetListAsync(bool, CancellationToken)
EfCoreRepository<IPaymentDbContext, Plan>.GetListAsync(Expression<Func<Plan, bool>>, bool, CancellationToken)
EfCoreRepository<IPaymentDbContext, Plan>.GetCountAsync(CancellationToken)
EfCoreRepository<IPaymentDbContext, Plan>.GetPagedListAsync(int, int, string, bool, CancellationToken)
EfCoreRepository<IPaymentDbContext, Plan>.GetQueryable()
EfCoreRepository<IPaymentDbContext, Plan>.GetQueryableAsync()
EfCoreRepository<IPaymentDbContext, Plan>.SaveChangesAsync(CancellationToken)
EfCoreRepository<IPaymentDbContext, Plan>.FindAsync(Expression<Func<Plan, bool>>, bool, CancellationToken)
EfCoreRepository<IPaymentDbContext, Plan>.DeleteAsync(Expression<Func<Plan, bool>>, bool, CancellationToken)
EfCoreRepository<IPaymentDbContext, Plan>.DeleteDirectAsync(Expression<Func<Plan, bool>>, CancellationToken)
EfCoreRepository<IPaymentDbContext, Plan>.EnsureCollectionLoadedAsync<TProperty>(Plan, Expression<Func<Plan, IEnumerable<TProperty>>>, CancellationToken)
EfCoreRepository<IPaymentDbContext, Plan>.EnsurePropertyLoadedAsync<TProperty>(Plan, Expression<Func<Plan, TProperty>>, CancellationToken)
EfCoreRepository<IPaymentDbContext, Plan>.WithDetails()
EfCoreRepository<IPaymentDbContext, Plan>.WithDetailsAsync()
EfCoreRepository<IPaymentDbContext, Plan>.WithDetails(params Expression<Func<Plan, object>>[])
EfCoreRepository<IPaymentDbContext, Plan>.WithDetailsAsync(params Expression<Func<Plan, object>>[])
EfCoreRepository<IPaymentDbContext, Plan>.CheckAndSetId(Plan)
EfCoreRepository<IPaymentDbContext, Plan>.TrySetGuidId(IEntity<Guid>)
EfCoreRepository<IPaymentDbContext, Plan>.DbContext
EfCoreRepository<IPaymentDbContext, Plan>.DbSet
EfCoreRepository<IPaymentDbContext, Plan>.AbpEntityOptions
EfCoreRepository<IPaymentDbContext, Plan>.GuidGenerator
EfCoreRepository<IPaymentDbContext, Plan>.BulkOperationProvider
RepositoryBase<Plan>.WithDetails()
RepositoryBase<Plan>.WithDetails(params Expression<Func<Plan, object>>[])
RepositoryBase<Plan>.WithDetailsAsync(params Expression<Func<Plan, object>>[])
RepositoryBase<Plan>.GetQueryable()
RepositoryBase<Plan>.GetQueryableAsync()
RepositoryBase<Plan>.FindAsync(Expression<Func<Plan, bool>>, bool, CancellationToken)
RepositoryBase<Plan>.GetAsync(Expression<Func<Plan, bool>>, bool, CancellationToken)
RepositoryBase<Plan>.DeleteAsync(Expression<Func<Plan, bool>>, bool, CancellationToken)
RepositoryBase<Plan>.DeleteDirectAsync(Expression<Func<Plan, bool>>, CancellationToken)
RepositoryBase<Plan>.ApplyDataFilters<TQueryable>(TQueryable)
RepositoryBase<Plan>.ApplyDataFilters<TQueryable, TOtherEntity>(TQueryable)
BasicRepositoryBase<Plan>.InsertAsync(Plan, bool, CancellationToken)
BasicRepositoryBase<Plan>.InsertManyAsync(IEnumerable<Plan>, bool, CancellationToken)
BasicRepositoryBase<Plan>.SaveChangesAsync(CancellationToken)
BasicRepositoryBase<Plan>.UpdateAsync(Plan, bool, CancellationToken)
BasicRepositoryBase<Plan>.UpdateManyAsync(IEnumerable<Plan>, bool, CancellationToken)
BasicRepositoryBase<Plan>.DeleteAsync(Plan, bool, CancellationToken)
BasicRepositoryBase<Plan>.DeleteManyAsync(IEnumerable<Plan>, bool, CancellationToken)
BasicRepositoryBase<Plan>.GetListAsync(bool, CancellationToken)
BasicRepositoryBase<Plan>.GetListAsync(Expression<Func<Plan, bool>>, bool, CancellationToken)
BasicRepositoryBase<Plan>.GetCountAsync(CancellationToken)
BasicRepositoryBase<Plan>.GetPagedListAsync(int, int, string, bool, CancellationToken)
BasicRepositoryBase<Plan>.GetCancellationToken(CancellationToken)
BasicRepositoryBase<Plan>.ShouldTrackingEntityChange()
BasicRepositoryBase<Plan>.LazyServiceProvider
BasicRepositoryBase<Plan>.ServiceProvider
BasicRepositoryBase<Plan>.DataFilter
BasicRepositoryBase<Plan>.CurrentTenant
BasicRepositoryBase<Plan>.AsyncExecuter
BasicRepositoryBase<Plan>.UnitOfWorkManager
BasicRepositoryBase<Plan>.CancellationTokenProvider
BasicRepositoryBase<Plan>.LoggerFactory
BasicRepositoryBase<Plan>.Logger
BasicRepositoryBase<Plan>.EntityChangeTrackingProvider
BasicRepositoryBase<Plan>.IsChangeTrackingEnabled
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Payment.Plans
Assembly: Volo.Payment.EntityFrameworkCore.dll
Syntax
public class EfCorePlanRepository : EfCoreRepository<IPaymentDbContext, Plan, Guid>, IServiceProviderAccessor, IUnitOfWorkEnabled, IUnitOfWorkManagerAccessor, IEfCoreRepository<Plan, Guid>, IEfCoreRepository<Plan>, IRepository<Plan, Guid>, IRepository<Plan>, IReadOnlyRepository<Plan, Guid>, IReadOnlyRepository<Plan>, IBasicRepository<Plan, Guid>, ISupportsExplicitLoading<Plan>, IPlanRepository, IBasicRepository<Plan, Guid>, IBasicRepository<Plan>, IReadOnlyBasicRepository<Plan, Guid>, IReadOnlyBasicRepository<Plan>, IRepository

Constructors

EfCorePlanRepository(IDbContextProvider<IPaymentDbContext>)

Declaration
public EfCorePlanRepository(IDbContextProvider<IPaymentDbContext> dbContextProvider)
Parameters
Type Name Description
IDbContextProvider<IPaymentDbContext> dbContextProvider

Methods

CreateFilteredQuery(IQueryable<Plan>, string)

Declaration
protected virtual IQueryable<Plan> CreateFilteredQuery(IQueryable<Plan> queryable, string filter)
Parameters
Type Name Description
IQueryable<Plan> queryable
string filter
Returns
Type Description
IQueryable<Plan>

DeleteGatewayPlanAsync(Guid, string)

Declaration
public virtual Task DeleteGatewayPlanAsync(Guid planId, string gateway)
Parameters
Type Name Description
Guid planId
string gateway
Returns
Type Description
Task

GetFilteredCountAsync(string, CancellationToken)

Declaration
public virtual Task<int> GetFilteredCountAsync(string filter, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string filter
CancellationToken cancellationToken
Returns
Type Description
Task<int>

GetGatewayPlanAsync(Guid, string)

Declaration
public virtual Task<GatewayPlan> GetGatewayPlanAsync(Guid planId, string gateway)
Parameters
Type Name Description
Guid planId
string gateway
Returns
Type Description
Task<GatewayPlan>

GetGatewayPlanCountAsync(Guid, string)

Declaration
public virtual Task<int> GetGatewayPlanCountAsync(Guid planId, string filter = null)
Parameters
Type Name Description
Guid planId
string filter
Returns
Type Description
Task<int>

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
Type Name Description
Guid planId
int skipCount
int maxResultCount
string sorting
string filter
Returns
Type Description
Task<List<GatewayPlan>>

GetManyAsync(Guid[])

Declaration
public virtual Task<List<Plan>> GetManyAsync(Guid[] ids)
Parameters
Type Name Description
Guid[] ids
Returns
Type Description
Task<List<Plan>>

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
Type Name Description
int skipCount
int maxResultCount
string sorting
string filter
bool includeDetails
CancellationToken cancellationToken
Returns
Type Description
Task<List<Plan>>

InsertGatewayPlanAsync(GatewayPlan)

Declaration
public virtual Task InsertGatewayPlanAsync(GatewayPlan gatewayPlan)
Parameters
Type Name Description
GatewayPlan gatewayPlan
Returns
Type Description
Task

UpdateGatewayPlanAsync(GatewayPlan)

Declaration
public virtual Task UpdateGatewayPlanAsync(GatewayPlan gatewayPlan)
Parameters
Type Name Description
GatewayPlan gatewayPlan
Returns
Type Description
Task

WithDetailsAsync()

Declaration
public override Task<IQueryable<Plan>> WithDetailsAsync()
Returns
Type Description
Task<IQueryable<Plan>>
Overrides
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Payment.EntityFrameworkCore.IPaymentDbContext, Volo.Payment.Plans.Plan>.WithDetailsAsync()

Implements

IServiceProviderAccessor
IUnitOfWorkEnabled
IUnitOfWorkManagerAccessor
IEfCoreRepository<TEntity, TKey>
IEfCoreRepository<TEntity>
IRepository<TEntity, TKey>
IRepository<TEntity>
IReadOnlyRepository<TEntity, TKey>
IReadOnlyRepository<TEntity>
IBasicRepository<TEntity, TKey>
ISupportsExplicitLoading<TEntity>
IPlanRepository
IBasicRepository<TEntity, TKey>
IBasicRepository<TEntity>
IReadOnlyBasicRepository<TEntity, TKey>
IReadOnlyBasicRepository<TEntity>
IRepository

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform