DataEngine for .NET Standard | ComponentOne
C1.DataEngine 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.

In This Topic
    DbConnector Constructor
    In This Topic
    Initializes a new instance of the System.Data.Common.DbConnection class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal workspace As Workspace, _
       ByVal connection As DbConnection, _
       Optional ByVal command As DbCommand _
    )
    public DbConnector( 
       Workspace workspace,
       DbConnection connection,
       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