Class NotificationLogRepository
Inheritance
NotificationLogRepository
Assembly: NotifyHub.NotificationService.Persistence.dll
Syntax
public class NotificationLogRepository : INotificationLogRepository
Constructors
|
Edit this page
View Source
NotificationLogRepository(IDbContext)
Declaration
public NotificationLogRepository(IDbContext context)
Parameters
Methods
|
Edit this page
View Source
AddAsync(NotificationLog, CancellationToken)
Declaration
public Task<NotificationLog> AddAsync(NotificationLog entity, CancellationToken cancellationToken)
Parameters
Returns
|
Edit this page
View Source
Get(Expression<Func<NotificationLog, bool>>)
Получить записи по условию
Declaration
public IQueryable<NotificationLog> Get(Expression<Func<NotificationLog, bool>> predicate)
Parameters
Returns
|
Edit this page
View Source
GetAll()
Declaration
public IQueryable<NotificationLog> GetAll()
Returns
|
Edit this page
View Source
GetByIdAsync(Guid, CancellationToken)
Declaration
public Task<NotificationLog?> GetByIdAsync(Guid id, CancellationToken cancellationToken)
Parameters
Returns
|
Edit this page
View Source
RemoveByIdAsync(Guid, CancellationToken)
Declaration
public Task RemoveByIdAsync(Guid id, CancellationToken cancellationToken)
Parameters
Returns
|
Edit this page
View Source
UpdateAsync(Guid, NotificationLog, CancellationToken)
Declaration
public Task<NotificationLog> UpdateAsync(Guid id, NotificationLog entity, CancellationToken cancellationToken)
Parameters
Returns
Implements