TypedTableBaseExtensions Class
.NET Framework 4.5
Contains the extension methods for the TypedTableBase<T> class.
Namespace: System.Data
Assembly: System.Data.DataSetExtensions (in System.Data.DataSetExtensions.dll)
The TypedTableBaseExtensions type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | AsEnumerable<TRow> | Enumerates the data row elements of the TypedTableBase<T> and returns an EnumerableRowCollection<TRow> object, where the generic parameter T is DataRow. This object can be used in a LINQ expression or method query. |
![]() ![]() | ElementAtOrDefault<TRow> | Returns the element at a specified row in a sequence or a default value if the row is out of range. |
![]() ![]() | OrderBy<TRow, TKey>(TypedTableBase<TRow>, Func<TRow, TKey>) | Sorts the rows of a TypedTableBase<T> in ascending order according to the specified key. |
![]() ![]() | OrderBy<TRow, TKey>(TypedTableBase<TRow>, Func<TRow, TKey>, IComparer<TKey>) | Sorts the rows of a TypedTableBase<T> in ascending order according to the specified key and comparer. |
![]() ![]() | OrderByDescending<TRow, TKey>(TypedTableBase<TRow>, Func<TRow, TKey>) | Sorts the rows of a TypedTableBase<T> in descending order according to the specified key. |
![]() ![]() | OrderByDescending<TRow, TKey>(TypedTableBase<TRow>, Func<TRow, TKey>, IComparer<TKey>) | Sorts the rows of a TypedTableBase<T> in descending order according to the specified key and comparer. |
![]() ![]() | Select<TRow, S> | Projects each element of a TypedTableBase<T> into a new form. |
![]() ![]() | Where<TRow> | Filters a sequence of rows based on the specified predicate. |
The class contains static extension methods that define the AsEnumerable<TRow> method and standard query operations for typed data sets.
This class cannot be instantiated.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
