Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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
Show:
© 2015 Microsoft