C# Class hoTools.Settings.SqlHistoryFilesCfg

Administer the recent 20 used SQL files - Store and read them in config-file
Show file Open project: Helmut-Ortmann/EnterpriseArchitect_hoTools Class Usage Examples

Public Methods

Method Description
Insert ( string s ) : void

Insert a SQL file to the beginning of SqlFileHistory

Load ( ) : void

Loads sql history file names from configuration. Ignore not exiting files

Save ( ) : void

Save history / recent sql file names to configuration. It stores all entries in the history list. The remaining files are reset to "":

SqlHistoryFilesCfg ( Configuration currentConfig ) : System.Collections.Generic

Constructor which load all sql history file names

Method Details

Insert() public method

Insert a SQL file to the beginning of SqlFileHistory
public Insert ( string s ) : void
s string
return void

Load() public method

Loads sql history file names from configuration. Ignore not exiting files
public Load ( ) : void
return void

Save() public method

Save history / recent sql file names to configuration. It stores all entries in the history list. The remaining files are reset to "":
public Save ( ) : void
return void

SqlHistoryFilesCfg() public method

Constructor which load all sql history file names
public SqlHistoryFilesCfg ( Configuration currentConfig ) : System.Collections.Generic
currentConfig System.Configuration.Configuration current Configuration
return System.Collections.Generic