Show / Hide Table of Contents

Interface ICommentRepository

Inherited Members
IBasicRepository<Comment, Guid>.DeleteAsync(Guid, Boolean, CancellationToken)
IBasicRepository<Comment>.InsertAsync(Comment, Boolean, CancellationToken)
IBasicRepository<Comment>.UpdateAsync(Comment, Boolean, CancellationToken)
IBasicRepository<Comment>.DeleteAsync(Comment, Boolean, CancellationToken)
IReadOnlyBasicRepository<Comment, Guid>.GetAsync(Guid, Boolean, CancellationToken)
IReadOnlyBasicRepository<Comment, Guid>.FindAsync(Guid, Boolean, CancellationToken)
IReadOnlyBasicRepository<Comment>.GetListAsync(Boolean, CancellationToken)
IReadOnlyBasicRepository<Comment>.GetCountAsync(CancellationToken)
IReadOnlyBasicRepository<Comment>.GetPagedListAsync(Int32, Int32, String, Boolean, CancellationToken)
Namespace: Volo.CmsKit.Comments
Assembly: Volo.CmsKit.Domain.dll
Syntax
public interface ICommentRepository : IBasicRepository<Comment, Guid>, IBasicRepository<Comment>, IReadOnlyBasicRepository<Comment, Guid>, IReadOnlyBasicRepository<Comment>, IRepository

Methods

DeleteWithRepliesAsync(Comment, CancellationToken)

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

GetListWithAuthorsAsync(String, String, CancellationToken)

Declaration
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>>

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