ClassQueryableEntityCoreCollectionView<T>
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, IEditableCollectionView, IEditableCollectionViewAddNewItem, ICollectionView, INotifyCollectionChanged, INotifyPropertyChanged, IPagedCollectionView, IQueryableCollectionView, IItemProperties, IDisposable, IEnumerable<T>, IEnumerable where T : class, new()
Inheritance: objectQueryableCollectionViewQueryableEntityCoreCollectionView<T>
Implements:
Inherited Members
Constructors
QueryableEntityCoreCollectionView(DbContext, IQueryable<T>, Collection<string>)
Initializes a new instance of the QueryableEntityCoreCollectionView<T> class;
Declaration
public QueryableEntityCoreCollectionView(DbContext dbContext, IQueryable<T> query, Collection<string> include)
Parameters
dbContext
DbContext
The EntityFrameworkCore dbContext to be used.
query
IQueryable<T>
The name of the Table that will be quried.
include
A collection of forward slash "/" separated navigational property names. Used for eager loading of related entities.
Methods
ConstructNewItem()
Creates a new entity object.
Declaration
protected override object ConstructNewItem()
Returns
A new entity object.
Overrides
CreateView()
Builds the view taking into account all filter, sort, group and page operations.
Declaration
protected override IQueryable CreateView()
Returns
An IQueryable representing the current view.
Overrides
GetPagingDeterminativeItemCount()
Gets the paging determinative item count.
Declaration
protected override int GetPagingDeterminativeItemCount()
Returns
The paging determinative item count.
Overrides
OnPropertyChanged(PropertyChangedEventArgs)
Raises the PropertyChanged event.
Declaration
protected override void OnPropertyChanged(PropertyChangedEventArgs e)
Parameters
e
The PropertyChangedEventArgs instance containing the event data.
Overrides