Show / Hide Table of Contents

Class EfCoreFaqSectionRepository

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

Constructors

EfCoreFaqSectionRepository(IDbContextProvider<ICmsKitProDbContext>)

Declaration
public EfCoreFaqSectionRepository(IDbContextProvider<ICmsKitProDbContext> dbContextProvider)
Parameters
Type Name Description
IDbContextProvider<ICmsKitProDbContext> dbContextProvider

Methods

AnyAsync(Guid, CancellationToken)

Declaration
public virtual Task<bool> AnyAsync(Guid id, CancellationToken cancellationToken = default)
Parameters
Type Name Description
Guid id
CancellationToken cancellationToken
Returns
Type Description
Task<bool>

AnyAsync(string, string, CancellationToken)

Declaration
public virtual Task<bool> AnyAsync(string groupName, string name, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string groupName
string name
CancellationToken cancellationToken
Returns
Type Description
Task<bool>

GetCountAsync(string, CancellationToken)

Declaration
public Task<long> GetCountAsync(string filter = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string filter
CancellationToken cancellationToken
Returns
Type Description
Task<long>

GetListAsync(string, string, int, int, CancellationToken)

Declaration
public virtual Task<List<FaqSectionWithQuestionCount>> GetListAsync(string filter = null, string sorting = null, int skipCount = 0, int maxResultCount = 2147483647, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string filter
string sorting
int skipCount
int maxResultCount
CancellationToken cancellationToken
Returns
Type Description
Task<List<FaqSectionWithQuestionCount>>

GetListSectionWithQuestionAsync(string, string, CancellationToken)

Declaration
public virtual Task<List<FaqSectionWithQuestions>> GetListSectionWithQuestionAsync(string groupName, string sectionName, CancellationToken cancellationToken)
Parameters
Type Name Description
string groupName
string sectionName
CancellationToken cancellationToken
Returns
Type Description
Task<List<FaqSectionWithQuestions>>

Implements

IServiceProviderAccessor
IUnitOfWorkEnabled
IUnitOfWorkManagerAccessor
IEfCoreRepository<TEntity, TKey>
IEfCoreRepository<TEntity>
IRepository<TEntity, TKey>
IRepository<TEntity>
IReadOnlyRepository<TEntity, TKey>
IReadOnlyRepository<TEntity>
IBasicRepository<TEntity, TKey>
ISupportsExplicitLoading<TEntity>
IFaqSectionRepository
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