[]
        
(Showing Draft Content)

C1.Data.PagingView-1

PagingView<T> Class

Represents a paged client view.

Inheritance
View<T>
PagingView<T>
Namespace: C1.Data
Assembly: C1.Data.Entity.4.8.dll
Syntax
public class PagingView<T> : ClientView<T>, IList, ICollection, IDisposable, IListSource, ITypedList, IItemProperties, IEditableCollectionView, IList<T>, ICollection<T>, IObservableSource<T>, IIndexedSource<T>, IEnumerable<T>, ICollectionView, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Type Parameters
Name Description
T

The type of the entities in the client view.

Remarks

Paging is performed on the server. It is controled by the PageSize and PageIndex properties.

Sorting is required, paging entities is impossible without sort.

Properties

Name Description
LoadSize

Gets or sets a value controling the number of entities to load in one batch.

PageCount

Gets the number of pages in this view.

PageIndex

Gets or sets the index of the current page.

PageSize

Gets or sets the number of items in a page.

TotalItemCount

Gets the total number of entities in the view before paging is applied.

Extension Methods