Class MongoPageFeedbackRepository
Inheritance
MongoPageFeedbackRepository
Implements
Inherited Members
Namespace: Volo.CmsKit.PageFeedbacks
Assembly: Volo.CmsKit.Pro.MongoDB.dll
Syntax
public class MongoPageFeedbackRepository : MongoDbRepository<ICmsKitProMongoDbContext, PageFeedback, Guid>, IServiceProviderAccessor, IUnitOfWorkEnabled, IUnitOfWorkManagerAccessor, IMongoDbRepository<PageFeedback, Guid>, IMongoDbRepository<PageFeedback>, IRepository<PageFeedback, Guid>, IRepository<PageFeedback>, IReadOnlyRepository<PageFeedback, Guid>, IReadOnlyRepository<PageFeedback>, IBasicRepository<PageFeedback, Guid>, IPageFeedbackRepository, IBasicRepository<PageFeedback, Guid>, IBasicRepository<PageFeedback>, IReadOnlyBasicRepository<PageFeedback, Guid>, IReadOnlyBasicRepository<PageFeedback>, IRepository
Constructors
MongoPageFeedbackRepository(IMongoDbContextProvider<ICmsKitProMongoDbContext>)
Declaration
public MongoPageFeedbackRepository(IMongoDbContextProvider<ICmsKitProMongoDbContext> dbContextProvider)
Parameters
Type | Name | Description |
---|---|---|
IMongoDbContextProvider<ICmsKitProMongoDbContext> | 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<IMongoQueryable<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<IMongoQueryable<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>> |