Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TypedTableBaseExtensions Methods

The TypedTableBaseExtensions type exposes the following members.

  Name Description
Public method Static member 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. 
Public method Static member ElementAtOrDefault<TRow> Returns the element at a specified row in a sequence or a default value if the row is out of range.
Public method Static member OrderBy<TRow, TKey>(TypedTableBase<TRow>, Func<TRow, TKey>) Sorts the rows of a TypedTableBase<T> in ascending order according to the specified key.
Public method Static member 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.
Public method Static member OrderByDescending<TRow, TKey>(TypedTableBase<TRow>, Func<TRow, TKey>) Sorts the rows of a TypedTableBase<T> in descending order according to the specified key.
Public method Static member 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.
Public method Static member Select<TRow, S> Projects each element of a TypedTableBase<T> into a new form.
Public method Static member Where<TRow> Filters a sequence of rows based on the specified predicate.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.