ComponentOne Studio Web API Edition
AddDataEngine(String,DbCommand,DbConnection,String,String) Method

The unique value used to stand for the data source.
ADO.NET command object for retrieving data from the database. The connection in the command should be open.
An open ADO.NET connection object for connecting to the database.
Path in the server's file system where DataEngine data is saved in files. If it is set to null or not set, the default workspace is used. The default workspace path is "application base path + /Data". You can change it via the Owin.IAppBuilder.SetDefaultWorkspacePath(string path) method.
The name of the DataEngine table. If it is set to null or not set, the value of the name parameter is used.
Adds a DataEngine data read from a database.
Syntax
'Declaration
 
Public Overloads Function AddDataEngine( _
   ByVal name As String, _
   ByVal command As DbCommand, _
   Optional ByVal connection As DbConnection, _
   Optional ByVal workspace As String, _
   Optional ByVal tableName As String _
) As FlexPivotEngineProviderManager

Parameters

name
The unique value used to stand for the data source.
command
ADO.NET command object for retrieving data from the database. The connection in the command should be open.
connection
An open ADO.NET connection object for connecting to the database.
workspace
Path in the server's file system where DataEngine data is saved in files. If it is set to null or not set, the default workspace is used. The default workspace path is "application base path + /Data". You can change it via the Owin.IAppBuilder.SetDefaultWorkspacePath(string path) method.
tableName
The name of the DataEngine table. If it is set to null or not set, the value of the name parameter is used.

Return Value

The flex pivot engine provider manager.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

FlexPivotEngineProviderManager Class
FlexPivotEngineProviderManager Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.