C# Класс hoTools.Utils.Configuration.HoToolsGlobalCfg

Наследование: IHoToolsGlobalCfg
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
HoToolsGlobalCfg ( ) : System.Collections.Generic

Описание методов

GetFileLong() публичный Метод

Get complete filepath from file name
public GetFileLong ( string fileName ) : string
fileName string
Результат string

GetListFileName() публичный Метод

public GetListFileName ( ) : System.Windows.Forms.AutoCompleteStringCollection
Результат System.Windows.Forms.AutoCompleteStringCollection

GetSqlPaths() публичный Метод

public GetSqlPaths ( ) : string
Результат string

ReadSqlFile() публичный Метод

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
Результат string

SetSqlPaths() публичный Метод

Set hoTools SQL path from Settings to search for SQL files.
public SetSqlPaths ( string paths ) : void
paths string
Результат void

getListFileCompleteName() публичный Метод

Get list of *.sql files of SQL path
public getListFileCompleteName ( ) : List
Результат List