[]
        
(Showing Draft Content)

C1.LiveLinq.AdoNet.IndexedDataTable-1

IndexedDataTable<TRow> Class

A wrapper for the standard ADO.NET DataTable class allowing to use ADO.NET data sources in LiveLinq indexing and live views.

Inheritance
IndexedDataTable<TRow>
Namespace: C1.LiveLinq.AdoNet
Assembly: C1.LiveLinq.4.8.dll
Syntax
public class IndexedDataTable<TRow> : IObservableSource<TRow>, IIndexedSource<TRow>, IList<TRow>, ICollection<TRow>, IEnumerable<TRow>, ITypedList, INotifyPropertyChanged, IBindingList, IList, ICollection, IEnumerable, ICancelAddNew where TRow : DataRow
Type Parameters
Name Description
TRow

The type of the rows of the DataTable. It is a class derived from DataRow

Remarks

Note: The IndexedDataTable wrapper is owned by the original DataTable object (in fact, it is stored in its ExtendedProperties). So, if you create a wrapper for the same data table several times, it will be the same object.

Properties

Name Description
Count

Gets the number of rows in the data table.

Indexes

The collection of indexes for this IndexedDataTable<TRow>

this[int]

Gets the row at the specified ordinal position.

Table

Gets the ADO.NET DataTable object represented by this IndexedDataTable<TRow>.

Methods

Name Description
BeginUpdate()

Suspends notifications while massive changes are being made to a data table.

EndUpdate()

Ends notification suspension started with BeginUpdate().

GetEnumerator()

Returns an enumerator that iterates through the IndexedDataTable<TRow>.

Extension Methods