[]
Virtual collection whose data is extracted from a Ado.Net DbConnection.
public class C1AdoNetVirtualDataCollection<T> : C1VirtualDataCollection<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 |
| Name | Description |
|---|---|
| C1AdoNetVirtualDataCollection(DbConnection, string, IEnumerable<string>?, int, int, TimeSpan?) | Initializes a new instance of the C1AdoNetVirtualDataCollection<T> class. |
| Name | Description |
|---|---|
| CanFilter(FilterExpression?) | Returns whether the collection is able to filter the specified |
| 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 |
| CanSort(params SortDescription[]) | Returns whether the collection is able to sort the specified |
| DetermineItemType(DbDataReader) | Determines the type of the items. |
| GetPageAsync(int, int, int, IReadOnlyList<SortDescription>?, FilterExpression?, CancellationToken) | When overridden in an inherited class it returns the items in the page as well as a token to the next page. |
| InsertAsyncOverride(int, T, CancellationToken) | This method is called when an item is inserted in the collection. |
| OnResetting() | Called before the cache is reset. |
| RemoveAsyncOverride(int, CancellationToken) | This method is called when an item is removed from the collection. |
| ReplaceAsyncOverride(int, T, CancellationToken) | This method is called when an item is replaced in the collection. |