Data and database Helper class.
Class instance accessor: Data
More...
Data and database Helper class.
Class instance accessor: Data
◆ GetFolder()
string GetFolder |
( |
string |
fixedName = null | ) |
|
Gets the path of program's data folder.
- Parameters
-
fixedName | Get a shareable folder with the given fixed name. |
- Returns
◆ LiteDb()
LiteDatabase LiteDb |
( |
string |
fileName | ) |
|
Open and get a LiteDatabase instance. See LiteDB website http://www.litedb.org for documentation.
- Returns
- LiteDatabase
- Parameters
-
fileName | The database file name. |
Example:
var db = Data.LiteDb("my_data.db");
...
◆ AddToSystemBackup()
bool AddToSystemBackup |
( |
string |
path | ) |
|
Sets additional file or folder to be added to the system backup file.
- Parameters
-
- Returns
◆ RemoveFromSystemBackup()
bool RemoveFromSystemBackup |
( |
string |
path | ) |
|
Removes an additional file or folder from the system backup file.
- Parameters
-
- Returns
The documentation for this class was generated from the following file: