String |
AssembleConnectionString() |
Builds the final connection string based on the string defined in Korzh.EasyQuery.Db.DbGate.ConnectionString property, current environment variables and the parameters defined in UserID and Password properties. |
void |
CheckConnection() |
Checks the connection. Calls CoreCheckConnection() method. |
void |
CoreCheckConnection() |
When overriden in derived class, performs the actual connection checking |
void |
CoreGetDatabases(DbInfoList databases) |
Core implementation of Korzh.EasyQuery.Db.DbGate.GetDatabases method. |
void |
CoreGetFields(String dbName, String schemaName, String tableName, DbFieldInfoList fields) |
Core implementation of Korzh.EasyQuery.Db.DbGate.GetFields(System.String,System.String,System.String) method. |
void |
CoreGetFieldsBySQL(String sql, DbFieldInfoList fields) |
Core implementation of Korzh.EasyQuery.Db.DbGate.GetFieldsBySQL(System.String) method. |
void |
CoreGetLinks(String dbName, String schemaName, DbLinkInfoList links) |
Core implementation of Korzh.EasyQuery.Db.DbGate.GetLinks(System.String,System.String) method. |
void |
CoreGetTables(String dbName, String schemaName, DbTableInfoList tables) |
Core implementation of Korzh.EasyQuery.Db.DbGate.GetTables(System.String,System.String) method. |
void |
CoreLoadParams(DbParameters dbParams) |
Core implementation of Korzh.EasyQuery.Db.DbGate.LoadParams(Korzh.EasyQuery.Db.DbParameters) method. |
void |
CoreSaveParams(DbParameters dbParams) |
Core implementation of Korzh.EasyQuery.Db.DbGate.SaveParams(Korzh.EasyQuery.Db.DbParameters) method. |
Boolean |
GetConnected() |
Core implemenation of "get" method of Korzh.EasyQuery.Db.DbGate.Connected property. |
DbConnection |
GetConnection() |
When overriden in derived class, returns the connection |
DbDataAdapter |
GetDataAdapter(String sqlText) |
Gets the data adapter. |
DbInfoList |
GetDatabases() |
Gets the list of available databases. |
DbFieldInfoList |
GetFields(String dbName, String schemaName, String tableName) |
Gets the fields by table. |
DbFieldInfoList |
GetFieldsBySQL(String sql) |
Gets the fields of result set of some SQL statement execution. |
DbFieldInfoList |
GetFieldsEx(String dbName, String schemaName, String tableName, Boolean sortByOriginalPosition) |
Gets the fields by table. |
FormatType |
GetFormatType() |
Returns the format type for this DB gate |
DbLinkInfoList |
GetLinks(String dbName, String schemaName) |
Gets the list of available tables. |
String |
GetName() |
Gets the name of Korzh.EasyQuery.Db.DbGate. Must be overrided in inherited classes |
String |
GetPwdName() |
Gets the name of "password" attribute in connection string. |
String |
GetSqlDialect() |
Gets the name of default SQL dialect. Can be overrided in inherited classes |
DbTableInfoList |
GetTables(String dbName, String schemaName) |
Gets the list of available tables. |
String |
GetUidName() |
Gets the name of User ID attribute in connection string |
String |
GetVersion() |
Core implemenation of Korzh.EasyQuery.Db.DbGate.Version property. Must be overrided in descendants. |
void |
LoadParams(DbParameters dbParams) |
Loads the connection parameters. |
void |
LogDebug(String message, Object[] args) |
|
void |
LogError(String message, Object[] args) |
|
void |
LogInfo(String message, Object[] args) |
|
void |
OnLoginRequest() |
Raises the LoginRequest event and filled UserID and Password by values returned in event arguments |
void |
SaveParams(DbParameters dbParams) |
Saves the connection parameters. |
void |
SetConnected(Boolean connected) |
Core implemenation of "set" method of Korzh.EasyQuery.Db.DbGate.Connected property. |
void |
SetLogger(ILogger logger) |
Set a logger |
void |
SetProgress(Int32 pos) |
Set the progress to the specified position. |
void |
SetProgressMinMax(Int32 min, Int32 max) |
Sets the minimum and maximum of progress indicator. |
String |
ToString() |
Returns a System.String that represents the current System.Object . |