public static async Task <TableLoadCollection <TModel, TIdentifier> > ToLoadCollection <TModel, TIdentifier>(this TableService <TModel, TIdentifier> tableService, QueryOptions queryOptions = null) where TModel : class, IEntity <TIdentifier> { var pageResult = await tableService.Get(queryOptions); var increCol = new TableLoadCollection <TModel, TIdentifier>(pageResult, tableService); return(increCol); }
public async Task LoadMoreItems() { if (HasMoreItems) { pageResult.Query.Skip = Count; pageResult = await tableService.Get(pageResult.Query); AddPagedResultItems(); } }