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. The EntityFrameworkCore dbContext to be used. |
System. The name of the Table that will be quried. |
System. 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. 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. An System. |
Overrides
GetPagingDeterminativeItemCount()
Declaration
protected override int GetPagingDeterminativeItemCount()
Returns
System.
|
Overrides
OnPropertyChanged(PropertyChangedEventArgs)
Raises the PropertyChanged event.
Declaration
protected override void OnPropertyChanged(PropertyChangedEventArgs e)
Parameters
System. The PropertyChangedEventArgs instance containing the event data. |