Inheritance
System.Object
MongoCommentRepository
Inherited Members
Volo.Abp.Domain.Repositories.MongoDB.MongoDbRepository<Volo.Blogging.MongoDB.IBloggingMongoDbContext, Volo.Blogging.Comments.Comment>.DeleteAsync(Expression<>, System.Boolean, CancellationToken)
Volo.Abp.Domain.Repositories.MongoDB.MongoDbRepository<Volo.Blogging.MongoDB.IBloggingMongoDbContext, Volo.Blogging.Comments.Comment>.FindAsync(Expression<>, System.Boolean, CancellationToken)
Assembly: Volo.Blogging.MongoDB.dll
public class MongoCommentRepository : MongoDbRepository<IBloggingMongoDbContext, Comment, Guid>, IMongoDbRepository<Comment, Guid>, IMongoDbRepository<Comment>, IRepository<Comment>, IRepository<Comment, Guid>, ICommentRepository, IBasicRepository<Comment, Guid>
Constructors
Declaration
public MongoCommentRepository(IMongoDbContextProvider<IBloggingMongoDbContext> 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