DbNetSuiteVS
DbNetData Constructor (ConnectionString, Provider, Database)
NamespacesDbNetLink.DataDbNetDataDbNetData(String, DataProvider, DatabaseType)
Creates an instance of DbNeData with the data provider specified and the database
Declaration Syntax
C#Visual Basic
public DbNetData(
	string ConnectionString,
	DataProvider Provider,
	DatabaseType Database
)
Public Sub New ( _
	ConnectionString As String, _
	Provider As DataProvider, _
	Database As DatabaseType _
)
Parameters
ConnectionString (String)
Connection string
Provider (DataProvider)
Data provider
Database (DatabaseType)
Database type
Remarks

In most cases specifying the Database type is not necessary as DbNetData can get this information automatically

Examples
CopyC#
DbNetData Data = new DbNetData("DSN=HumanResources;", DataProvider.Odbc, Database.DB2);

Assembly: DbNetLink.DbNetSuiteVS (Module: DbNetLink.DbNetSuiteVS) Version: 0.9.3317.16858 (0.9.0.0)