Show / Hide Table of Contents

Interface INewsletterRecordRepository

Inherited Members
IBasicRepository<NewsletterRecord, Guid>.DeleteAsync(Guid, bool, CancellationToken)
IBasicRepository<NewsletterRecord, Guid>.DeleteManyAsync(IEnumerable<Guid>, bool, CancellationToken)
IBasicRepository<NewsletterRecord>.InsertAsync(NewsletterRecord, bool, CancellationToken)
IBasicRepository<NewsletterRecord>.InsertManyAsync(IEnumerable<NewsletterRecord>, bool, CancellationToken)
IBasicRepository<NewsletterRecord>.UpdateAsync(NewsletterRecord, bool, CancellationToken)
IBasicRepository<NewsletterRecord>.UpdateManyAsync(IEnumerable<NewsletterRecord>, bool, CancellationToken)
IBasicRepository<NewsletterRecord>.DeleteAsync(NewsletterRecord, bool, CancellationToken)
IBasicRepository<NewsletterRecord>.DeleteManyAsync(IEnumerable<NewsletterRecord>, bool, CancellationToken)
IReadOnlyBasicRepository<NewsletterRecord, Guid>.GetAsync(Guid, bool, CancellationToken)
IReadOnlyBasicRepository<NewsletterRecord, Guid>.FindAsync(Guid, bool, CancellationToken)
IReadOnlyBasicRepository<NewsletterRecord>.GetListAsync(bool, CancellationToken)
IReadOnlyBasicRepository<NewsletterRecord>.GetCountAsync(CancellationToken)
IReadOnlyBasicRepository<NewsletterRecord>.GetPagedListAsync(int, int, string, bool, CancellationToken)
IRepository.IsChangeTrackingEnabled
Namespace: Volo.CmsKit.Newsletters
Assembly: Volo.CmsKit.Pro.Domain.dll
Syntax
public interface INewsletterRecordRepository : IBasicRepository<NewsletterRecord, Guid>, IBasicRepository<NewsletterRecord>, IReadOnlyBasicRepository<NewsletterRecord, Guid>, IReadOnlyBasicRepository<NewsletterRecord>, IRepository

Methods

FindByEmailAddressAsync(string, bool, CancellationToken)

Declaration
Task<NewsletterRecord> FindByEmailAddressAsync(string emailAddress, bool includeDetails = true, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string emailAddress
bool includeDetails
CancellationToken cancellationToken
Returns
Type Description
Task<NewsletterRecord>

GetCountByFilterAsync(string, string, string, CancellationToken)

Declaration
Task<int> GetCountByFilterAsync(string preference = null, string source = null, string emailAddress = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string preference
string source
string emailAddress
CancellationToken cancellationToken
Returns
Type Description
Task<int>

GetListAsync(string, string, string, int, int, CancellationToken)

Declaration
Task<List<NewsletterSummaryQueryResultItem>> GetListAsync(string preference = null, string source = null, string emailAddress = null, int skipCount = 0, int maxResultCount = 2147483647, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string preference
string source
string emailAddress
int skipCount
int maxResultCount
CancellationToken cancellationToken
Returns
Type Description
Task<List<NewsletterSummaryQueryResultItem>>

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform