Class QueryableEntityCollectionView<T>
Represent a System.Linq.Queryable view over an entity set.
Inherited Members
Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Controls.EntityFramework.dll
Syntax
public class QueryableEntityCollectionView<T> : QueryableCollectionView, IEditableCollectionView, IEditableCollectionViewAddNewItem, ICollectionView, INotifyCollectionChanged, INotifyPropertyChanged, IPagedCollectionView, IWeakEventListener<NotifyCollectionChangedEventArgs>, IWeakEventListener<CurrentChangingEventArgs>, IQueryableCollectionView, IItemProperties, IDisposable, IEnumerable<T>, IEnumerable where T : class
Type Parameters
T
|
Constructors
QueryableEntityCollectionView(ObjectContext, String)
Initializes a new instance of the QueryableEntityCollectionView<T> class.
Declaration
public QueryableEntityCollectionView(ObjectContext objectContext, string entitySetName)
Parameters
System.Data.Objects.ObjectContext
objectContext
The object context. |
System.String
entitySetName
Name of the entity set. |
QueryableEntityCollectionView(ObjectContext, String, IEnumerable<String>)
Initializes a new instance of the QueryableEntityCollectionView<T> class.
Declaration
public QueryableEntityCollectionView(ObjectContext objectContext, string entitySetName, IEnumerable<string> relatedObjectsToInclude)
Parameters
System.Data.Objects.ObjectContext
objectContext
The object context. |
System.String
entitySetName
Name of the entity set. |
System.Collections.Generic.IEnumerable<System.String>
relatedObjectsToInclude
The names of the related objects to include. |
QueryableEntityCollectionView(ObjectQuery<T>, String, IEnumerable<String>)
Initializes a new instance of the QueryableEntityCollectionView<T> class.
Declaration
public QueryableEntityCollectionView(ObjectQuery<T> objectQuery, string entitySetName, IEnumerable<string> relatedObjectsToInclude)
Parameters
System.Data.Objects.ObjectQuery<T>
objectQuery
The object query. |
System.String
entitySetName
Name of the entity set. |
System.Collections.Generic.IEnumerable<System.String>
relatedObjectsToInclude
The related objects to include. |
Methods
ConstructNewItem()
Constructs a new item.
Declaration
protected override object ConstructNewItem()
Returns
System.Object
|
Overrides
CreateView()
Returns System.Linq.IQueryable with applied filtering, sorting, grouping and paging.
Declaration
protected override IQueryable CreateView()
Returns
System.Linq.IQueryable
|
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. |
Overrides
RefreshOnItemAction(Object, ItemAction)
Refreshes the view according to the item and the respective action.
Declaration
protected override void RefreshOnItemAction(object item, ItemAction action)
Parameters
System.Object
item
The item. |
ItemAction
action
The action. |
Overrides
Explicit Interface Implementations
IEnumerable<T>.GetEnumerator()
Declaration
IEnumerator<T> IEnumerable<T>.GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<T>
|