Show / Hide Table of Contents

Class EfCoreCommentRepository

Inheritance
System.Object
EfCoreRepository<IBloggingDbContext, Comment>
EfCoreRepository<IBloggingDbContext, 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<IBloggingDbContext, Comment, Guid>.GetAsync(Guid, Boolean, CancellationToken)
EfCoreRepository<IBloggingDbContext, Comment, Guid>.FindAsync(Guid, Boolean, CancellationToken)
EfCoreRepository<IBloggingDbContext, Comment, Guid>.DeleteAsync(Guid, Boolean, CancellationToken)
EfCoreRepository<IBloggingDbContext, Comment>.DbSet
EfCoreRepository<IBloggingDbContext, Comment>.DbContext
EfCoreRepository<IBloggingDbContext, Comment>.AbpEntityOptions
EfCoreRepository<IBloggingDbContext, Comment>.GuidGenerator
EfCoreRepository<IBloggingDbContext, Comment>.InsertAsync(Comment, Boolean, CancellationToken)
EfCoreRepository<IBloggingDbContext, Comment>.UpdateAsync(Comment, Boolean, CancellationToken)
EfCoreRepository<IBloggingDbContext, Comment>.DeleteAsync(Comment, Boolean, CancellationToken)
EfCoreRepository<IBloggingDbContext, Comment>.GetListAsync(Boolean, CancellationToken)
EfCoreRepository<IBloggingDbContext, Comment>.GetCountAsync(CancellationToken)
EfCoreRepository<IBloggingDbContext, Comment>.GetPagedListAsync(Int32, Int32, String, Boolean, CancellationToken)
EfCoreRepository<IBloggingDbContext, Comment>.GetQueryable()
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)
EfCoreRepository<IBloggingDbContext, Comment>.WithDetails()
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Blogging.EntityFrameworkCore.IBloggingDbContext, Volo.Blogging.Comments.Comment>.WithDetails(Expression<>[])
EfCoreRepository<IBloggingDbContext, Comment>.GetAsyncEnumerator(CancellationToken)
EfCoreRepository<IBloggingDbContext, Comment>.CheckAndSetId(Comment)
EfCoreRepository<IBloggingDbContext, Comment>.TrySetGuidId(IEntity<Guid>)
Namespace: Volo.Blogging.Comments
Assembly: Volo.Blogging.EntityFrameworkCore.dll
Syntax
public class EfCoreCommentRepository : EfCoreRepository<IBloggingDbContext, Comment, Guid>, IAsyncEnumerable<Comment>, IEfCoreRepository<Comment, Guid>, IEfCoreRepository<Comment>, IRepository<Comment>, IRepository<Comment, Guid>, ISupportsExplicitLoading<Comment, Guid>, ICommentRepository, IBasicRepository<Comment, Guid>

Constructors

EfCoreCommentRepository(IDbContextProvider<IBloggingDbContext>)

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

Methods

DeleteOfPost(Guid)

Declaration
public Task DeleteOfPost(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task

GetCommentCountOfPostAsync(Guid)

Declaration
public Task<int> GetCommentCountOfPostAsync(Guid postId)
Parameters
Type Name Description
Guid postId
Returns
Type Description
Task<System.Int32>

GetListOfPostAsync(Guid)

Declaration
public Task<List<Comment>> GetListOfPostAsync(Guid postId)
Parameters
Type Name Description
Guid postId
Returns
Type Description
Task<List<Comment>>

GetRepliesOfComment(Guid)

Declaration
public Task<List<Comment>> GetRepliesOfComment(Guid id)
Parameters
Type Name Description
Guid id
Returns
Type Description
Task<List<Comment>>

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