[]
This collection allows showing and modifying a Microsoft.EntityFrameworkCore.DbContext instance in any control.
public class C1EntityFrameworkCoreVirtualDataCollection<T> : C1EntityFrameworkCoreVirtualDataCollectionBase<T>, IDataCollection<T?>, IEnumerable<T?>, IEnumerable, IReadOnlyList<T?>, IReadOnlyCollection<T?>, INotifyCollectionChanged, ISupportIndexing<T?>, INotifyPropertyChanged, IDisposable, ISupportVirtualization, ISupportRefreshing, ISupportConnection, ISupportAsyncLoading<T>, ISupportSorting, ISupportFiltering, ISupportEditing<T> where T : class
Public Class C1EntityFrameworkCoreVirtualDataCollection(Of T As Class)
Inherits C1EntityFrameworkCoreVirtualDataCollectionBase(Of T)
Implements IDataCollection(Of T), IEnumerable(Of T), IEnumerable, IReadOnlyList(Of T), IReadOnlyCollection(Of T), INotifyCollectionChanged, ISupportIndexing(Of T), INotifyPropertyChanged, IDisposable, ISupportVirtualization, ISupportRefreshing, ISupportConnection, ISupportAsyncLoading(Of T), ISupportSorting, ISupportFiltering, ISupportEditing(Of T)
| 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. |