Show / Hide Table of Contents

Interface IShortenedUrlRepository

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

Methods

FindBySourceUrlAsync(string, CancellationToken)

Declaration
Task<ShortenedUrl> FindBySourceUrlAsync(string sourceUrl, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string sourceUrl
CancellationToken cancellationToken
Returns
Type Description
Task<ShortenedUrl>

GetAllRegexAsync(CancellationToken)

Declaration
Task<List<ShortenedUrl>> GetAllRegexAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<List<ShortenedUrl>>

GetCountAsync(string, CancellationToken)

Declaration
Task<long> GetCountAsync(string filter = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string filter
CancellationToken cancellationToken
Returns
Type Description
Task<long>

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

Declaration
Task<List<ShortenedUrl>> GetListAsync(string filter = null, string Sorting = null, int skipCount = 0, int maxResultCount = 2147483647, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string filter
string Sorting
int skipCount
int maxResultCount
CancellationToken cancellationToken
Returns
Type Description
Task<List<ShortenedUrl>>

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