C# Class hoTools.Utils.Configuration.HoToolsGlobalCfg

Inheritance: IHoToolsGlobalCfg
Afficher le fichier Open project: Helmut-Ortmann/EnterpriseArchitect_hoTools

Méthodes publiques

Méthode Description
GetFileLong ( string fileName ) : string

Get complete filepath from file name

GetListFileName ( ) : System.Windows.Forms.AutoCompleteStringCollection
GetSqlPaths ( ) : string
ReadSqlFile ( string sqlFileName, bool withErrMessage = true ) : string

Read the SQL file. If it is an absolute path it uses this. If not it uses the SQL Path to find the complete sql file name. In case of IO errors or file not found it return "". If a not existing absolute patch is used an error message is output (if withErrMessage = true, default)

SetSqlPaths ( string paths ) : void

Set hoTools SQL path from Settings to search for SQL files.

getListFileCompleteName ( ) : List

Get list of *.sql files of SQL path

Private Methods

Méthode Description
HoToolsGlobalCfg ( ) : System.Collections.Generic

Method Details

GetFileLong() public méthode

Get complete filepath from file name
public GetFileLong ( string fileName ) : string
fileName string
Résultat string

GetListFileName() public méthode

public GetListFileName ( ) : System.Windows.Forms.AutoCompleteStringCollection
Résultat System.Windows.Forms.AutoCompleteStringCollection

GetSqlPaths() public méthode

public GetSqlPaths ( ) : string
Résultat string

ReadSqlFile() public méthode

Read the SQL file. If it is an absolute path it uses this. If not it uses the SQL Path to find the complete sql file name. In case of IO errors or file not found it return "". If a not existing absolute patch is used an error message is output (if withErrMessage = true, default)
public ReadSqlFile ( string sqlFileName, bool withErrMessage = true ) : string
sqlFileName string
withErrMessage bool
Résultat string

SetSqlPaths() public méthode

Set hoTools SQL path from Settings to search for SQL files.
public SetSqlPaths ( string paths ) : void
paths string
Résultat void

getListFileCompleteName() public méthode

Get list of *.sql files of SQL path
public getListFileCompleteName ( ) : List
Résultat List