Inheritance
System.Object
EfCoreCommentRepository
Inherited Members
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Blogging.EntityFrameworkCore.IBloggingDbContext, Volo.Blogging.Comments.Comment>.FindAsync(Expression<>, System.Boolean, CancellationToken)
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Blogging.EntityFrameworkCore.IBloggingDbContext, Volo.Blogging.Comments.Comment>.DeleteAsync(Expression<>, System.Boolean, CancellationToken)
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Blogging.EntityFrameworkCore.IBloggingDbContext, Volo.Blogging.Comments.Comment>.EnsureCollectionLoadedAsync<TProperty>(Volo.Blogging.Comments.Comment, Expression<>, CancellationToken)
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Blogging.EntityFrameworkCore.IBloggingDbContext, Volo.Blogging.Comments.Comment>.EnsurePropertyLoadedAsync<TProperty>(Volo.Blogging.Comments.Comment, Expression<>, CancellationToken)
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Blogging.EntityFrameworkCore.IBloggingDbContext, Volo.Blogging.Comments.Comment>.WithDetails(Expression<>[])
Assembly: Volo.Blogging.EntityFrameworkCore.dll
public class EfCoreCommentRepository : EfCoreRepository<IBloggingDbContext, Comment, Guid>, IEfCoreRepository<Comment, Guid>, IEfCoreRepository<Comment>, IRepository<Comment>, IRepository<Comment, Guid>, ISupportsExplicitLoading<Comment, Guid>, ICommentRepository, IBasicRepository<Comment, Guid>
Constructors
Declaration
public EfCoreCommentRepository(IDbContextProvider<IBloggingDbContext> dbContextProvider)
Parameters
Methods
Declaration
public Task DeleteOfPost(Guid id)
Parameters
Type |
Name |
Description |
Guid |
id |
|
Returns
Declaration
public Task<int> GetCommentCountOfPostAsync(Guid postId)
Parameters
Type |
Name |
Description |
Guid |
postId |
|
Returns
Type |
Description |
Task<System.Int32> |
|
Declaration
public Task<List<Comment>> GetListOfPostAsync(Guid postId)
Parameters
Type |
Name |
Description |
Guid |
postId |
|
Returns
Type |
Description |
Task<List<Comment>> |
|
Declaration
public Task<List<Comment>> GetRepliesOfComment(Guid id)
Parameters
Type |
Name |
Description |
Guid |
id |
|
Returns
Type |
Description |
Task<List<Comment>> |
|
Implements
Extension Methods