Show / Hide Table of Contents

Class EfCoreCommentRepository

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

Constructors

EfCoreCommentRepository(IDbContextProvider<ICmsKitDbContext>)

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

Methods

DeleteWithRepliesAsync(Comment, CancellationToken)

Declaration
public Task DeleteWithRepliesAsync(Comment comment, CancellationToken cancellationToken = null)
Parameters
Type Name Description
Comment comment
CancellationToken cancellationToken
Returns
Type Description
Task

GetListWithAuthorsAsync(String, String, CancellationToken)

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

Implements

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

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, 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