OpenPetra
Free Administration Software for Non-Profits
Ict.Common.Data.DataSetAdapter< T > Class Template Reference

Helper methods and functions. More...

Static Public Member Functions

static T convert (DataSet dataSet)
 Convert the first DataTable from a DataSet to a strongly-typed data table. More...
 
static T convert (DataTable dataTable)
 Convert an ordinary DataTable to a strongly-typed data table. More...
 

Detailed Description

Helper methods and functions.

Template Parameters
TA strongly type DataTable. A DataTable of type T will be returned from the DataSet.
Type Constraints
T :DataTable 
T :new 

Member Function Documentation

◆ convert() [1/2]

static T Ict.Common.Data.DataSetAdapter< T >.convert ( DataSet  dataSet)
inlinestatic

Convert the first DataTable from a DataSet to a strongly-typed data table.

◆ convert() [2/2]

static T Ict.Common.Data.DataSetAdapter< T >.convert ( DataTable  dataTable)
inlinestatic

Convert an ordinary DataTable to a strongly-typed data table.


The documentation for this class was generated from the following file: