AssembleConnectionString() |
string |
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. |
CheckConnection() |
void |
Checks the connection. Calls CoreCheckConnection() method. |
CoreCheckConnection() |
void |
When overriden in derived class, performs the actual connection checking |
CoreGetDatabases(DbInfoList databases) |
void |
Core implementation of Korzh.EasyQuery.Db.DbGate.GetDatabases method. |
CoreGetFields(string dbName, string schemaName, string tableName, DbFieldInfoList fields) |
void |
Core implementation of Korzh.EasyQuery.Db.DbGate.GetFields(System.String,System.String,System.String) method. |
CoreGetFieldsBySQL(string sql, DbFieldInfoList fields) |
void |
Core implementation of Korzh.EasyQuery.Db.DbGate.GetFieldsBySQL(System.String) method. |
CoreGetLinks(string dbName, string schemaName, DbLinkInfoList links) |
void |
Core implementation of Korzh.EasyQuery.Db.DbGate.GetLinks(System.String,System.String) method. |
CoreGetTables(string dbName, string schemaName, DbTableInfoList tables) |
void |
Core implementation of Korzh.EasyQuery.Db.DbGate.GetTables(System.String,System.String) method. |
CoreLoadParams(DbParameters dbParams) |
void |
Core implementation of Korzh.EasyQuery.Db.DbGate.LoadParams(Korzh.EasyQuery.Db.DbParameters) method. |
CoreSaveParams(DbParameters dbParams) |
void |
Core implementation of Korzh.EasyQuery.Db.DbGate.SaveParams(Korzh.EasyQuery.Db.DbParameters) method. |
Dispose(bool disposing) |
void |
Releases unmanaged and - optionally - managed resources. |
Dispose() |
void |
Releases unmanaged and - optionally - managed resources. |
GetConnected() |
bool |
Core implemenation of "get" method of Korzh.EasyQuery.Db.DbGate.Connected property. |
GetConnection() |
DbConnection |
When overriden in derived class, returns the connection |
GetDataAdapter(string sqlText) |
DbDataAdapter |
Gets the data adapter. |
GetDatabases() |
DbInfoList |
Gets the list of available databases. |
GetFields(string dbName, string schemaName, string tableName) |
DbFieldInfoList |
Gets the fields by table. |
GetFieldsBySQL(string sql) |
DbFieldInfoList |
Gets the fields of result set of some SQL statement execution. |
GetFieldsEx(string dbName, string schemaName, string tableName, bool sortByOriginalPosition) |
DbFieldInfoList |
Gets the fields by table. |
GetFormatType() |
FormatType |
Returns the format type for this DB gate |
GetGateId() |
string |
Gets the id of Korzh.EasyQuery.Db.DbGate. Must be overrided in inherited classes |
GetLinks(string dbName, string schemaName) |
DbLinkInfoList |
Gets the list of available tables. |
GetName() |
string |
Gets the name of Korzh.EasyQuery.Db.DbGate. Must be overrided in inherited classes |
GetPwdName() |
string |
Gets the name of "password" attribute in connection string. |
GetSqlDialect() |
string |
Gets the name of default SQL dialect. Can be overrided in inherited classes |
GetTableFieldsMap(string dbName, string schemaName) |
Dictionary <string , DbFieldInfoList> |
Returns all table fields map for the particular DB and schema. Called in Korzh.EasyQuery.Db.DbGate.CoreGetFields(System.String,System.String,System.String,Korzh.EasyQuery.Db.DbFieldInfoList) |
GetTables(string dbName, string schemaName) |
DbTableInfoList |
Gets the list of available tables. |
GetUidName() |
string |
Gets the name of User ID attribute in connection string |
GetVersion() |
string |
Core implemenation of Korzh.EasyQuery.Db.DbGate.Version property. Must be overrided in descendants. |
LoadParams(DbParameters dbParams) |
void |
Loads the connection parameters. |
LogDebug(string message, Object[] args) |
void |
Formats and writes a debug log message. |
LogError(string message, Object[] args) |
void |
Formats and writes an error log message. |
LogInfo(string message, Object[] args) |
void |
Formats and writes an informational log message. |
OnLoginRequest() |
void |
Raises the LoginRequest event and filled UserID and Password by values returned in event arguments |
SaveParams(DbParameters dbParams) |
void |
Saves the connection parameters. |
SetConnected(bool connected) |
void |
Core implemenation of "set" method of Korzh.EasyQuery.Db.DbGate.Connected property. |
SetConnection(DbConnection value) |
void |
|
SetLogger(ILogger logger) |
void |
Set a logger |
SetProgress(int pos) |
void |
Set the progress to the specified position. |
SetProgressMinMax(int min, int max) |
void |
Sets the minimum and maximum of progress indicator. |
ToString() |
string |
Returns a System.String that represents the current System.Object . |