Click or drag to resize
Database Constructor (String, DbConnectionStringBuilder)
Create a database connection

Namespace:  DataTables
Assembly:  DataTables (in DataTables.dll) Version: 1.6.5.0 (1.6.5.0)
Syntax
C#
public Database(
	string dbType,
	DbConnectionStringBuilder builder
)

Parameters

dbType
Type: SystemString
Database type - this should be "sqlserver" or "mysql"
builder
Type: System.Data.CommonDbConnectionStringBuilder
Connection string builder instance to connect to the SQL server
See Also