Class QueryableEntityCoreCollectionView<T>
Represents a collection view that can handle filterm sort, selectm group and page operations.
Inherited Members
Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Controls.EntityFrameworkCore.dll
Syntax
public class QueryableEntityCoreCollectionView<T> : QueryableCollectionView, IEditableCollectionView, IEditableCollectionViewAddNewItem, ICollectionView, INotifyCollectionChanged, INotifyPropertyChanged, IPagedCollectionView, IWeakEventListener<NotifyCollectionChangedEventArgs>, IWeakEventListener<CurrentChangingEventArgs>, IQueryableCollectionView, IItemProperties, IDisposable, IEnumerable<T>, IEnumerable where T : class, new()
Type Parameters
T
|
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
Microsoft.EntityFrameworkCore.DbContext
dbContext
The EntityFrameworkCore dbContext to be used. |
System.Linq.IQueryable<T>
query
The name of the Table that will be quried. |
System.Collections.ObjectModel.Collection<System.String>
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
System.Object
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
System.Linq.IQueryable
An System.Linq.IQueryable representing the current view. |
Overrides
GetPagingDeterminativeItemCount()
Declaration
protected override int GetPagingDeterminativeItemCount()
Returns
System.Int32
|
Overrides
OnPropertyChanged(PropertyChangedEventArgs)
Raises the PropertyChanged event.
Declaration
protected override void OnPropertyChanged(PropertyChangedEventArgs e)
Parameters
System.ComponentModel.PropertyChangedEventArgs
e
The PropertyChangedEventArgs instance containing the event data. |