예제 #1
0
 /// <summary>
 /// Get data paging
 /// </summary>
 /// <param name="query">Query condition</param>
 /// <returns>Return data paging</returns>
 public virtual async Task <PagingInfo <TEntity> > GetPagingAsync(IQuery query)
 {
     return(await dataCacheProvider.GetPagingAsync(new GetDataPagingCacheCommand <TEntity>()
     {
         Query = query,
         GetDatabaseDataPagingProxyAsync = databaseAccess.GetPagingAsync,
         GetDatabaseDataListProxyAsync = databaseAccess.GetListAsync
     }).ConfigureAwait(false));
 }