Adds a new table into the data schema using the given System.Data.DataTable object to retrieve metadata and fetch data from.
Adds a new table to the data schema retrieving metadata and fetching data from a
specified System.Data.DataTable object.
Syntax
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As TOLAPCube
Dim OriginalTable As DataTable
Dim DataReader As IDataReader
Dim value As TDataTable
value = instance.AddDataTable(OriginalTable, DataReader) |
Parameters
- OriginalTable
- The original table to read the data from.
- DataReader
-
The System.Data.IDataReader interface is suitable for sequential fetching of
table rows instead of filling the memory with the whole amount of table data.
Return Value
Returns either a matching table from the table collection or, if there's no
match, creates and returns a new one.
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also