Class EfCorePageFeedbackRepository
Inheritance
EfCorePageFeedbackRepository
Implements
Inherited Members
EfCoreRepository<ICmsKitProDbContext, PageFeedback, Guid>.DeleteAsync(Guid, bool, CancellationToken)
Namespace: Volo.CmsKit.PageFeedbacks
Assembly: Volo.CmsKit.Pro.EntityFrameworkCore.dll
Syntax
public class EfCorePageFeedbackRepository : EfCoreRepository<ICmsKitProDbContext, PageFeedback, Guid>, IServiceProviderAccessor, IUnitOfWorkEnabled, IUnitOfWorkManagerAccessor, IEfCoreRepository<PageFeedback, Guid>, IEfCoreRepository<PageFeedback>, IRepository<PageFeedback, Guid>, IRepository<PageFeedback>, IReadOnlyRepository<PageFeedback, Guid>, IReadOnlyRepository<PageFeedback>, IBasicRepository<PageFeedback, Guid>, ISupportsExplicitLoading<PageFeedback>, IPageFeedbackRepository, IBasicRepository<PageFeedback, Guid>, IBasicRepository<PageFeedback>, IReadOnlyBasicRepository<PageFeedback, Guid>, IReadOnlyBasicRepository<PageFeedback>, IRepository
Constructors
EfCorePageFeedbackRepository(IDbContextProvider<ICmsKitProDbContext>)
Declaration
public EfCorePageFeedbackRepository(IDbContextProvider<ICmsKitProDbContext> dbContextProvider)
Parameters
Type | Name | Description |
---|---|---|
IDbContextProvider<ICmsKitProDbContext> | dbContextProvider |
Methods
GetCountAsync(string, string, bool?, string, bool?, bool?, bool?, CancellationToken)
Declaration
public virtual Task<long> GetCountAsync(string entityType = null, string entityId = null, bool? isUseful = null, string url = null, bool? isHandled = null, bool? hasUserNote = null, bool? hasAdminNote = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
string | entityType | |
string | entityId | |
bool? | isUseful | |
string | url | |
bool? | isHandled | |
bool? | hasUserNote | |
bool? | hasAdminNote | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<long> |
GetFilteredQueryableAsync(string, string, bool?, string, bool?, bool?, bool?)
Declaration
protected virtual Task<IQueryable<PageFeedback>> GetFilteredQueryableAsync(string entityType = null, string entityId = null, bool? isUseful = null, string url = null, bool? isHandled = null, bool? hasUserNote = null, bool? hasAdminNote = null)
Parameters
Type | Name | Description |
---|---|---|
string | entityType | |
string | entityId | |
bool? | isUseful | |
string | url | |
bool? | isHandled | |
bool? | hasUserNote | |
bool? | hasAdminNote |
Returns
Type | Description |
---|---|
Task<IQueryable<PageFeedback>> |
GetListAsync(string, string, bool?, string, bool?, string, int, int, bool?, bool?, CancellationToken)
Declaration
public virtual Task<List<PageFeedback>> GetListAsync(string entityType = null, string entityId = null, bool? isUseful = null, string url = null, bool? isHandled = null, string sorting = null, int skipCount = 0, int maxResultCount = 2147483647, bool? hasUserNote = null, bool? hasAdminNote = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
string | entityType | |
string | entityId | |
bool? | isUseful | |
string | url | |
bool? | isHandled | |
string | sorting | |
int | skipCount | |
int | maxResultCount | |
bool? | hasUserNote | |
bool? | hasAdminNote | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<List<PageFeedback>> |