TypedTableBaseExtensions Class

 

Contains the extension methods for the TypedTableBase<'T> class.

Namespace:   System.Data
Assembly:  System.Data.DataSetExtensions (in System.Data.DataSetExtensions.dll)

System.Object
  System.Data.TypedTableBaseExtensions

[<AbstractClass>]
[<Sealed>]
type TypedTableBaseExtensions = class end

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAsEnumerable<'TRow>(TypedTableBase<'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. 

System_CAPS_pubmethodSystem_CAPS_staticElementAtOrDefault<'TRow>(TypedTableBase<'TRow>, Int32)

Returns the element at a specified row in a sequence or a default value if the row is out of range.

System_CAPS_pubmethodSystem_CAPS_staticOrderBy<'TRow, 'TKey>(TypedTableBase<'TRow>, Func<'TRow, 'TKey>)

Sorts the rows of a TypedTableBase<'T> in ascending order according to the specified key.

System_CAPS_pubmethodSystem_CAPS_staticOrderBy<'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.

System_CAPS_pubmethodSystem_CAPS_staticOrderByDescending<'TRow, 'TKey>(TypedTableBase<'TRow>, Func<'TRow, 'TKey>)

Sorts the rows of a TypedTableBase<'T> in descending order according to the specified key.

System_CAPS_pubmethodSystem_CAPS_staticOrderByDescending<'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.

System_CAPS_pubmethodSystem_CAPS_staticSelect<'TRow, 'S>(TypedTableBase<'TRow>, Func<'TRow, 'S>)

Projects each element of a TypedTableBase<'T> into a new form.

System_CAPS_pubmethodSystem_CAPS_staticWhere<'TRow>(TypedTableBase<'TRow>, Func<'TRow, Boolean>)

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.

.NET Framework
Available since 3.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: