Represents a collection view that can handle filterm sort, selectm group and page operations.
Definition
Namespace:Telerik.Windows.Data
Assembly:Telerik.Windows.Controls.EntityFrameworkCore.dll
Type Parameters:
T
Syntax:
public class QueryableEntityCoreCollectionView<T> : QueryableCollectionView, ICollectionView, INotifyCollectionChanged, INotifyPropertyChanged, IPagedCollectionView, IQueryableCollectionView, IItemProperties, IDisposable, IEditableCollectionView, IEditableCollectionViewAddNewItem, IEnumerable<T>, IEnumerable where T : class, new()
Inheritance: objectQueryableCollectionViewQueryableEntityCoreCollectionView<T>
Implements:
Inherited Members
Constructors
Initializes a new instance of the QueryableEntityCoreCollectionView<T> class;
public QueryableEntityCoreCollectionView(DbContext dbContext, IQueryable<T> query, Collection<string> include)
The EntityFrameworkCore dbContext to be used.
queryIQueryable<T>The name of the Table that will be quried.
includeCollection<string>A collection of forward slash "/" separated navigational property names. Used for eager loading of related entities.
Methods
Creates a new entity object.
Builds the view taking into account all filter, sort, group and page operations.
protected override IQueryable CreateView()
An IQueryable representing the current view.
Overrides:
Gets the paging determinative item count.
protected override int GetPagingDeterminativeItemCount()
The paging determinative item count.
Overrides:
Raises the PropertyChanged event.
protected override void OnPropertyChanged(PropertyChangedEventArgs e)
The PropertyChangedEventArgs instance containing the event data.
Overrides: