[]
This collection allows showing and modifying a Microsoft.EntityFrameworkCore.DbContext instance in any control.
public class C1EntityFrameworkCoreVirtualDataCollection<T> : C1EntityFrameworkCoreVirtualDataCollectionBase<T>, IDataCollection<T?>, IReadOnlyList<T?>, IReadOnlyCollection<T?>, IEnumerable<T?>, IEnumerable, INotifyCollectionChanged, ISupportIndexing<T?>, INotifyPropertyChanged, IDisposable, ISupportVirtualization, ISupportRefreshing, ISupportConnection, ISupportAsyncLoading<T>, ISupportSorting, ISupportFiltering, ISupportEditing<T> where T : class
| Name | Description |
|---|---|
| T |
The collection supports asynchronous loading of data, sorting, filtering and editing.
| Name | Description |
|---|---|
| C1EntityFrameworkCoreVirtualDataCollection(DbContext, int, int, TimeSpan?) | Initializes a new instance of the C1EntityFrameworkCoreVirtualDataCollection<T> class. |
| C1EntityFrameworkCoreVirtualDataCollection(IQueryable<T>, int, int, TimeSpan?) | Initializes a new instance of the C1EntityFrameworkCoreVirtualDataCollection<T> class. |
| Name | Description |
|---|---|
| CanInsert(int, T) | Determines whether a new item can be inserted in the collection at the specified |
| CanRemove(int) | Determines whether the item at the specified |
| CanReplace(int, T) | Determines whether the item at the specified |
| InsertAsyncOverride(int, T, CancellationToken) | Inserts the specified |
| RemoveAsyncOverride(int, CancellationToken) | Removes the item at the specified |
| ReplaceAsyncOverride(int, T, CancellationToken) | Replaces the item at the specified index by the specified item. |