[]
        
(Showing Draft Content)

C1.DataEngine.DbConnector.-ctor

DbConnector Constructor

DbConnector(Workspace, DbConnection, DbCommand)

Initializes a new instance of the DbConnection class.

Declaration
public DbConnector(Workspace workspace, DbConnection connection, DbCommand command = null)
Public Sub New(workspace As Workspace, connection As DbConnection, Optional command As DbCommand = Nothing)
Parameters
Type Name Description
Workspace workspace

Workspace to use the connector in.

DbConnection connection

ADO.NET connection object for connecting to the database.

DbCommand command

ADO.NET command object for retrieving data from the database.