DBConnHelper Class
Helper Class for DBSheetCreateForm and AdHocSQL
Inheritance Hierarchy
- System.Object
- DBaddin.DBConnHelper
Namespace: DBaddinAssembly: DBaddin in (DBaddin.dll)
Syntax
public class DBConnHelper
The DBConnHelper type exposes the following members.
Constructors
Class | Summary | |
---|---|---|
![]() | DBConnHelper(String) |
Methods
Name | Summary | |
---|---|---|
![]() | getCommand(String) | get the specific command object for commandText (SqlCommand, OleDbCommand or OdbcCommand), depending on type of connection |
![]() | openConnection(String, Boolean) | opens a database connection with active connection string |
![]() | setConnectionString() | set the dbSheet connection string, used in initialization and openConnection |
Fields
Name | Description | |
---|---|---|
![]() | DBenv | the environment of the DBConnHelper |
![]() | DBGetAllFieldName | field-name where databases are returned by dbGetAllStr |
![]() | dbGetAllStr | statement/procedure to get all databases in a DB instance |
![]() | dbidentifier | identifier needed to fetch database from connection string (e.g Database=) |
![]() | dbPwdSpec | identifier needed to put password into connection string (e.g PWD=) |
![]() | dbshcnn | the DB connection for the dbsheet definition/AdHocSQL activities |
![]() | dbsheetConnString | the connection string for dbsheet definitions, different from the normal one (extended rights for schema viewing required) |