[]
        
(Showing Draft Content)

C1.LiveLinq.AdoNet.AdoNetExtensions.AsLive

AsLive Method

AsLive(DataTable)

Creates a view based on the specified ADO.NET DataTable.

Declaration
public static View<DataRow> AsLive(this DataTable table)
Parameters
Type Name Description
DataTable table

The DataTable to expose as a view.

Returns
Type Description
View<DataRow>

A view that contains the same elements as table.

AsLive<TRow>(DataTable)

Creates a view based on the specified ADO.NET DataTable.

Declaration
public static View<TRow> AsLive<TRow>(this DataTable table) where TRow : DataRow
Parameters
Type Name Description
DataTable table

The typed data table to expose as a view.

Returns
Type Description
View<TRow>

A view that contains the same elements as table.

Type Parameters
Name Description
TRow

The type of the rows in the table.

AsLive<TRow>(TypedTableBase<TRow>)

Creates a view based on the specified typed data table.

Declaration
public static View<TRow> AsLive<TRow>(this TypedTableBase<TRow> table) where TRow : DataRow
Parameters
Type Name Description
TypedTableBase<TRow> table

The typed data table to expose as a view.

Returns
Type Description
View<TRow>

A view that contains the same elements as table.

Type Parameters
Name Description
TRow

The type of the rows in the table.