[]
        
(Showing Draft Content)

C1.DataCollection.EntityFrameworkCore.C1EntityFrameworkCoreCursorDataCollectionBase-1

C1EntityFrameworkCoreCursorDataCollectionBase<T> Class

Virtualizing cursor collection whose items are brought from a Linq IQueryable<T>.

Inheritance
C1EntityFrameworkCoreCursorDataCollectionBase<T>
Namespace: C1.DataCollection.EntityFrameworkCore
Assembly: C1.DataCollection.EntityFrameworkCore.dll
Syntax
public abstract class C1EntityFrameworkCoreCursorDataCollectionBase<T> : C1CursorDataCollection<T, int?>, IDataCollection<T>, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, INotifyCollectionChanged, ISupportIndexing<T>, INotifyPropertyChanged, IDisposable, ISupportVirtualization, ISupportConnection, ISupportIncrementalLoading, ISupportRefreshing, ISupportSorting, ISupportFiltering, ISupportEditing<T> where T : class
Type Parameters
Name Description
T

Properties

Name Description
PageCount

Gets the page size.

Queryable

Gets the IQueryable<T> underlying collection.

Methods

Name Description
CanFilter(FilterExpression?)

Returns whether the collection is able to filter the specified filterExpression.

CanSort(params SortDescription[])

Returns whether the collection is able to sort the specified sortDescriptions.

GetPageAsync(int, int?, int?, IReadOnlyList<SortDescription>?, FilterExpression?, CancellationToken)

When overridden in an inherited class it returns the items in the page as well as a token to the next page.