Creates a view based on the specified ADO.NET DataTable.
Namespace:
C1.LiveLinq.AdoNetAssembly: C1.LiveLinq (in C1.LiveLinq.dll)
Syntax
C# |
---|
public static View<TRow> AsLive<TRow>( this DataTable table ) where TRow : DataRow |
Visual Basic |
---|
<ExtensionAttribute> _ Public Shared Function AsLive(Of TRow As DataRow) ( _ table As DataTable _ ) As View(Of TRow) |
Parameters
- table
- Type: System.Data..::..DataTable
The typed data table to expose as a view.
Type Parameters
- TRow
- The type of the rows in the table.