RadarSoft.RadarCube.Web.MSAS Send comments on this topic.
AddDataTable(DataTable,IDataReader) Method
See Also 
RadarSoft.RadarCube.Web Namespace > TOLAPCube Class > AddDataTable Method : AddDataTable(DataTable,IDataReader) Method




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.
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 (Declaration) 
Public Overloads Function AddDataTable( _
   ByVal OriginalTable As DataTable, _
   ByVal DataReader As IDataReader _
) As TDataTable
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)
C# 
public TDataTable AddDataTable( 
   DataTable OriginalTable,
   IDataReader DataReader
)
Managed Extensions for C++ 
public: TDataTable* AddDataTable( 
   DataTable* OriginalTable,
   IDataReader* DataReader
) 
C++/CLI 
public:
TDataTable^ AddDataTable( 
   DataTable^ OriginalTable,
   IDataReader^ 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

© 2010 Radar-Soft, L.L.C. All Rights Reserved.