Show / Hide Table of Contents

Class EfCoreRatingRepository

Inheritance
System.Object
EfCoreRepository<ICmsKitDbContext, Rating>
EfCoreRepository<ICmsKitDbContext, Rating, Guid>
EfCoreRatingRepository
Implements
IAsyncEnumerable<Rating>
IEfCoreRepository<Rating, Guid>
IEfCoreRepository<Rating>
IRepository<Rating>
IRepository<Rating, Guid>
ISupportsExplicitLoading<Rating, Guid>
IRatingRepository
IBasicRepository<Rating, Guid>
Inherited Members
EfCoreRepository<ICmsKitDbContext, Rating, Guid>.GetAsync(Guid, Boolean, CancellationToken)
EfCoreRepository<ICmsKitDbContext, Rating, Guid>.FindAsync(Guid, Boolean, CancellationToken)
EfCoreRepository<ICmsKitDbContext, Rating, Guid>.DeleteAsync(Guid, Boolean, CancellationToken)
EfCoreRepository<ICmsKitDbContext, Rating>.DbSet
EfCoreRepository<ICmsKitDbContext, Rating>.DbContext
EfCoreRepository<ICmsKitDbContext, Rating>.AbpEntityOptions
EfCoreRepository<ICmsKitDbContext, Rating>.GuidGenerator
EfCoreRepository<ICmsKitDbContext, Rating>.InsertAsync(Rating, Boolean, CancellationToken)
EfCoreRepository<ICmsKitDbContext, Rating>.UpdateAsync(Rating, Boolean, CancellationToken)
EfCoreRepository<ICmsKitDbContext, Rating>.DeleteAsync(Rating, Boolean, CancellationToken)
EfCoreRepository<ICmsKitDbContext, Rating>.GetListAsync(Boolean, CancellationToken)
EfCoreRepository<ICmsKitDbContext, Rating>.GetCountAsync(CancellationToken)
EfCoreRepository<ICmsKitDbContext, Rating>.GetPagedListAsync(Int32, Int32, String, Boolean, CancellationToken)
EfCoreRepository<ICmsKitDbContext, Rating>.GetQueryable()
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.CmsKit.EntityFrameworkCore.ICmsKitDbContext, Volo.CmsKit.Ratings.Rating>.FindAsync(Expression<>, System.Boolean, CancellationToken)
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.CmsKit.EntityFrameworkCore.ICmsKitDbContext, Volo.CmsKit.Ratings.Rating>.DeleteAsync(Expression<>, System.Boolean, CancellationToken)
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.CmsKit.EntityFrameworkCore.ICmsKitDbContext, Volo.CmsKit.Ratings.Rating>.EnsureCollectionLoadedAsync<TProperty>(Volo.CmsKit.Ratings.Rating, Expression<>, CancellationToken)
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.CmsKit.EntityFrameworkCore.ICmsKitDbContext, Volo.CmsKit.Ratings.Rating>.EnsurePropertyLoadedAsync<TProperty>(Volo.CmsKit.Ratings.Rating, Expression<>, CancellationToken)
EfCoreRepository<ICmsKitDbContext, Rating>.WithDetails()
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.CmsKit.EntityFrameworkCore.ICmsKitDbContext, Volo.CmsKit.Ratings.Rating>.WithDetails(Expression<>[])
EfCoreRepository<ICmsKitDbContext, Rating>.GetAsyncEnumerator(CancellationToken)
EfCoreRepository<ICmsKitDbContext, Rating>.CheckAndSetId(Rating)
EfCoreRepository<ICmsKitDbContext, Rating>.TrySetGuidId(IEntity<Guid>)
Namespace: Volo.CmsKit.Ratings
Assembly: Volo.CmsKit.EntityFrameworkCore.dll
Syntax
public class EfCoreRatingRepository : EfCoreRepository<ICmsKitDbContext, Rating, Guid>, IAsyncEnumerable<Rating>, IEfCoreRepository<Rating, Guid>, IEfCoreRepository<Rating>, IRepository<Rating>, IRepository<Rating, Guid>, ISupportsExplicitLoading<Rating, Guid>, IRatingRepository, IBasicRepository<Rating, Guid>

Constructors

EfCoreRatingRepository(IDbContextProvider<ICmsKitDbContext>)

Declaration
public EfCoreRatingRepository(IDbContextProvider<ICmsKitDbContext> dbContextProvider)
Parameters
Type Name Description
IDbContextProvider<ICmsKitDbContext> dbContextProvider

Methods

GetCurrentUserRatingAsync(String, String, Guid, CancellationToken)

Declaration
public Task<Rating> GetCurrentUserRatingAsync(string entityType, string entityId, Guid userId, CancellationToken cancellationToken = null)
Parameters
Type Name Description
System.String entityType
System.String entityId
Guid userId
CancellationToken cancellationToken
Returns
Type Description
Task<Rating>

GetGroupedStarCountsAsync(String, String, CancellationToken)

Declaration
public Task<List<RatingWithStarCountQueryResultItem>> GetGroupedStarCountsAsync(string entityType, string entityId, CancellationToken cancellationToken = null)
Parameters
Type Name Description
System.String entityType
System.String entityId
CancellationToken cancellationToken
Returns
Type Description
Task<List<RatingWithStarCountQueryResultItem>>

Implements

IAsyncEnumerable<>
IEfCoreRepository<TEntity, TKey>
IEfCoreRepository<TEntity>
IRepository<TEntity>
IRepository<TEntity, TKey>
ISupportsExplicitLoading<TEntity, TKey>
IRatingRepository
IBasicRepository<TEntity, TKey>

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft