.NET Framework Class Library TypedTableBaseExtensions Class

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

Syntax
<ExtensionAttribute> _
Public NotInheritable Class TypedTableBaseExtensions
public static class TypedTableBaseExtensions
[ExtensionAttribute]
public ref class TypedTableBaseExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type TypedTableBaseExtensions = class end
The TypedTableBaseExtensions type exposes the following members.

Methods
|
| Name | Description |
|---|
.gif) .gif) | AsEnumerable<(Of <(TRow>)>) | Enumerates the data row elements of the TypedTableBase<(Of <(T>)>) and returns an EnumerableRowCollection<(Of <(TRow>)>) object, where the generic parameter T is DataRow. This object can be used in a LINQ expression or method query. | .gif) .gif) | OrderBy<(Of <(TRow, TKey>)>)(TypedTableBase<(Of <(TRow>)>), Func<(Of <(TRow, TKey>)>)) | Sorts the rows of a TypedTableBase<(Of <(T>)>) in ascending order according to the specified key. | .gif) .gif) | OrderBy<(Of <(TRow, TKey>)>)(TypedTableBase<(Of <(TRow>)>), Func<(Of <(TRow, TKey>)>), IComparer<(Of <(TKey>)>)) | Sorts the rows of a TypedTableBase<(Of <(T>)>) in ascending order according to the specified key and comparer. | .gif) .gif) | OrderByDescending<(Of <(TRow, TKey>)>)(TypedTableBase<(Of <(TRow>)>), Func<(Of <(TRow, TKey>)>)) | Sorts the rows of a TypedTableBase<(Of <(T>)>) in descending order according to the specified key. | .gif) .gif) | OrderByDescending<(Of <(TRow, TKey>)>)(TypedTableBase<(Of <(TRow>)>), Func<(Of <(TRow, TKey>)>), IComparer<(Of <(TKey>)>)) | Sorts the rows of a TypedTableBase<(Of <(T>)>) in descending order according to the specified key and comparer. | .gif) .gif) | Select<(Of <(TRow, S>)>) | Projects each element of a TypedTableBase<(Of <(T>)>) into a new form. | .gif) .gif) | Where<(Of <(TRow>)>) | Filters a sequence of rows based on the specified predicate. | Top

Remarks
The class contains static extension methods that define the AsEnumerable<(Of <(TRow>)>) method and standard query operations for typed data sets. This class cannot be instantiated.

Version Information
.NET FrameworkSupported in: 4, 3.5 .NET Framework Client ProfileSupported in: 4, 3.5 SP1

Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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

See Also
|
Biblioteca de clases de .NET Framework TypedTableBaseExtensions (Clase)

Jerarquía de herencia
Espacio de nombres:
System.Data
Ensamblado:
System.Data.DataSetExtensions (en System.Data.DataSetExtensions.dll)

Sintaxis
<ExtensionAttribute> _
Public NotInheritable Class TypedTableBaseExtensions
public static class TypedTableBaseExtensions
[ExtensionAttribute]
public ref class TypedTableBaseExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type TypedTableBaseExtensions = class end
El tipo TypedTableBaseExtensions expone los siguientes miembros.

Métodos
|
| Nombre | Descripción |
|---|
.gif) .gif) | AsEnumerable<(Of <(TRow>)>) | Enumera los elementos de fila de datos de TypedTableBase<(Of <(T>)>) y devuelve un objeto EnumerableRowCollection<(Of <(TRow>)>), donde el parámetro T genérico es DataRow. Este objeto puede usarse en una expresión LINQ o una consulta de método. | .gif) .gif) | OrderBy<(Of <(TRow, TKey>)>)(TypedTableBase<(Of <(TRow>)>), Func<(Of <(TRow, TKey>)>)) | Ordena las filas de un objeto TypedTableBase<(Of <(T>)>) en orden ascendente según la clave especificada. | .gif) .gif) | OrderBy<(Of <(TRow, TKey>)>)(TypedTableBase<(Of <(TRow>)>), Func<(Of <(TRow, TKey>)>), IComparer<(Of <(TKey>)>)) | Ordena las filas de un objeto TypedTableBase<(Of <(T>)>) en orden ascendente según la clave y el comparador especificados. | .gif) .gif) | OrderByDescending<(Of <(TRow, TKey>)>)(TypedTableBase<(Of <(TRow>)>), Func<(Of <(TRow, TKey>)>)) | Ordena las filas de un objeto TypedTableBase<(Of <(T>)>) en orden descendente según la clave especificada. | .gif) .gif) | OrderByDescending<(Of <(TRow, TKey>)>)(TypedTableBase<(Of <(TRow>)>), Func<(Of <(TRow, TKey>)>), IComparer<(Of <(TKey>)>)) | Ordena las filas de un objeto TypedTableBase<(Of <(T>)>) en orden descendente según la clave y el comparador especificados. | .gif) .gif) | Select<(Of <(TRow, S>)>) | Proyecta cada elemento de TypedTableBase<(Of <(T>)>) en un nuevo formulario. | .gif) .gif) | Where<(Of <(TRow>)>) | Filtra una secuencia de filas basándose en el predicado especificado. | Arriba

Comentarios
La clase contiene métodos de extensión estáticos que definen el método AsEnumerable<(Of <(TRow>)>) y operaciones de consulta estándar para los conjuntos de datos con tipo. No se puede crear una instancia de esta clase.

Información de versión
.NET FrameworkCompatible con: 4, 3.5 .NET Framework Client ProfileCompatible con: 4, 3.5 SP1

Plataformas
Windows 7, Windows Vista SP1 o posterior, Windows XP SP3, Windows Server 2008 (no se admite Server Core), Windows Server 2008 R2 (se admite Server Core con SP1 o posterior), Windows Server 2003 SP2
.NET Framework no admite todas las versiones de todas las plataformas. Para obtener una lista de las versiones compatibles, vea Requisitos de sistema de .NET Framework.

Seguridad para subprocesos
Todos los miembros static ( Shared en Visual Basic) públicos de este tipo son seguros para la ejecución de subprocesos. No se garantiza que los miembros de instancias sean seguros para la ejecución de subprocesos.

Vea también
|