Property | Type | Description | |
---|---|---|---|
ExtractionDoneOk | void | ||
Read | void |
Method | Description | |
---|---|---|
DeleteCurrentDbInfo ( ) : void |
Deletes the file corresponding to the current database (if it exists)
|
|
FetchCurrentDbInfo ( System.Action onExtractionDone ) : void |
Should be called to extract the database info from the current environnement
|
|
FindDatabaseByName ( string name ) : |
||
FindFieldByName ( string name ) : |
||
FindFieldByName ( string name, |
||
FindTableByName ( string name ) : |
||
FindTableByName ( string name, |
||
GetDb ( string name ) : |
Get db info by name
|
|
GetDbDictionnary ( ) : CompletionType>.Dictionary |
returns a dictionary containing all the table names of each database, each table is present 2 times, as "TABLE" and "DATABASE.TABLE"
|
|
GetDbList ( ) : List |
returns the list of databases
|
|
GetFieldsList ( |
Returns the list of fields for a given table (it can also be a temp table!)
|
|
GetSequencesList ( ) : List |
returns the list of keywords
|
|
GetTablesList ( ) : List |
returns the list tables of each database
|
|
GetTablesList ( |
Returns the list of tables for a given database
|
|
UpdateDatabaseInfo ( ) : void |
Tries to load the database information of the current ProgressEnv, returns false the info is not available
|
Method | Description | |
---|---|---|
ExtractionDoneOk ( |
Method called after the execution of the program extracting the db info
|
|
Read ( string filePath ) : void |
This method parses the output of the .p procedure that exports the database info and fills _dataBases It then updates the parser with the new info
|
public static FetchCurrentDbInfo ( System.Action onExtractionDone ) : void | ||
onExtractionDone | System.Action | |
return | void |
public static FindDatabaseByName ( string name ) : |
||
name | string | |
return |
public static FindFieldByName ( string name ) : |
||
name | string | |
return |
public static FindFieldByName ( string name, |
||
name | string | |
table | ||
return |
public static FindTableByName ( string name ) : |
||
name | string | |
return |
public static FindTableByName ( string name, |
||
name | string | |
db | ||
return |
public static GetDb ( string name ) : |
||
name | string | |
return |
public static GetDbDictionnary ( ) : CompletionType>.Dictionary |
||
return | CompletionType>.Dictionary |
public static GetFieldsList ( |
||
table | ||
return | List |
public static GetTablesList ( |
||
dataBase | ||
return | List |