C# 클래스 hoTools.Query.SqlFile

Information of a *.sql file: -FullName -DisplayName -isChanged -TabPage -SqlTabPages
상속: IDisposable
파일 보기 프로젝트 열기: Helmut-Ortmann/EnterpriseArchitect_hoTools 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
Load ( ) : string

Load from file. Note currently the change event will make the text box change. Therefore you have later to set IsChanged to false;

Save ( string text ) : bool

Save to file

SqlFile ( SqlTabPagesCntrl sqlTabPagesCntrl, string fullName, bool isChanged = true ) : System

Constructor. If the file is persistent then register a Watcher - Initialize file system watcher

비공개 메소드들

메소드 설명
InitTabPageCaption ( string fullName, bool isChanged ) : void

Initialize the TabPage information.

OnChanged ( string path ) : void

Wait for event from FileSystemMonitor.

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Load() 공개 메소드

Load from file. Note currently the change event will make the text box change. Therefore you have later to set IsChanged to false;
public Load ( ) : string
리턴 string

Save() 공개 메소드

Save to file
public Save ( string text ) : bool
text string
리턴 bool

SqlFile() 공개 메소드

Constructor. If the file is persistent then register a Watcher - Initialize file system watcher
public SqlFile ( SqlTabPagesCntrl sqlTabPagesCntrl, string fullName, bool isChanged = true ) : System
sqlTabPagesCntrl SqlTabPagesCntrl
fullName string
isChanged bool Default=true
리턴 System