C# 클래스 hoTools.Utils.Configuration.HoToolsGlobalCfg

상속: IHoToolsGlobalCfg
파일 보기 프로젝트 열기: Helmut-Ortmann/EnterpriseArchitect_hoTools

공개 메소드들

메소드 설명
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