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




OriginalTable
The original table to read the data from.
DbCommand
The System.Data.IDbCommand interface to use when fetching table rows instead of filling the memory data table.
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 DbCommand As IDbCommand _
) As TDataTable
Visual Basic (Usage)Copy Code
Dim instance As TOLAPCube
Dim OriginalTable As DataTable
Dim DbCommand As IDbCommand
Dim value As TDataTable
 
value = instance.AddDataTable(OriginalTable, DbCommand)
C# 
public TDataTable AddDataTable( 
   DataTable OriginalTable,
   IDbCommand DbCommand
)
Managed Extensions for C++ 
public: TDataTable* AddDataTable( 
   DataTable* OriginalTable,
   IDbCommand* DbCommand
) 
C++/CLI 
public:
TDataTable^ AddDataTable( 
   DataTable^ OriginalTable,
   IDbCommand^ DbCommand
) 

Parameters

OriginalTable
The original table to read the data from.
DbCommand
The System.Data.IDbCommand interface to use when fetching table rows instead of filling the memory data table.

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.