ComponentOne FlexPivot for WinForms
DbConnector Constructor

C1.DataEngine.4 Assembly > C1.DataEngine Namespace > DbConnector Class : DbConnector Constructor
Workspace to use the connector in.
ADO.NET connection object for connecting to the database.
ADO.NET command object for retrieving data from the database.
Initializes a new instance of the System.Data.Common.DbConnection class.
Syntax
'Declaration
 
Public Function New( _
   ByVal workspace As Workspace, _
   ByVal connection As System.Data.Common.DbConnection, _
   Optional ByVal command As System.Data.Common.DbCommand _
)
public DbConnector( 
   Workspace workspace,
   System.Data.Common.DbConnection connection,
   System.Data.Common.DbCommand command
)

Parameters

workspace
Workspace to use the connector in.
connection
ADO.NET connection object for connecting to the database.
command
ADO.NET command object for retrieving data from the database.
See Also

Reference

DbConnector Class
DbConnector Members