Class EfCorePageFeedbackSettingRepository
Inheritance
EfCorePageFeedbackSettingRepository
Implements
Inherited Members
Namespace: Volo.CmsKit.PageFeedbacks
Assembly: Volo.CmsKit.Pro.EntityFrameworkCore.dll
Syntax
public class EfCorePageFeedbackSettingRepository : EfCoreRepository<ICmsKitProDbContext, PageFeedbackSetting, Guid>, IServiceProviderAccessor, IUnitOfWorkEnabled, IUnitOfWorkManagerAccessor, IEfCoreRepository<PageFeedbackSetting, Guid>, IEfCoreRepository<PageFeedbackSetting>, IRepository<PageFeedbackSetting, Guid>, IRepository<PageFeedbackSetting>, IReadOnlyRepository<PageFeedbackSetting, Guid>, IReadOnlyRepository<PageFeedbackSetting>, IBasicRepository<PageFeedbackSetting, Guid>, ISupportsExplicitLoading<PageFeedbackSetting>, IPageFeedbackSettingRepository, IBasicRepository<PageFeedbackSetting, Guid>, IBasicRepository<PageFeedbackSetting>, IReadOnlyBasicRepository<PageFeedbackSetting, Guid>, IReadOnlyBasicRepository<PageFeedbackSetting>, IRepository
Constructors
EfCorePageFeedbackSettingRepository(IDbContextProvider<ICmsKitProDbContext>)
Declaration
public EfCorePageFeedbackSettingRepository(IDbContextProvider<ICmsKitProDbContext> dbContextProvider)
Parameters
Type | Name | Description |
---|---|---|
IDbContextProvider<ICmsKitProDbContext> | dbContextProvider |
Methods
DeleteOldSettingsAsync(List<string>, CancellationToken)
Declaration
public virtual Task DeleteOldSettingsAsync(List<string> existingEntityTypes, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
List<string> | existingEntityTypes | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task |
FindByEntityTypeAsync(string, CancellationToken)
Declaration
public virtual Task<PageFeedbackSetting> FindByEntityTypeAsync(string entityType, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
string | entityType | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<PageFeedbackSetting> |
GetListByEntityTypesAsync(List<string>, CancellationToken)
Declaration
public virtual Task<List<PageFeedbackSetting>> GetListByEntityTypesAsync(List<string> entityTypes, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
List<string> | entityTypes | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<List<PageFeedbackSetting>> |