-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #138 from VPKSoft/userDataBackup
Add user data backup
- Loading branch information
Showing
51 changed files
with
1,505 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Command line arguments | ||
The software supports command line arguments mostly for backup and restore backup purposes. | ||
|
||
The command line help can be accessed via the `--help` argument. | ||
|
||
``` | ||
amp.EtoForms 1.0.1.3 | ||
Copyright © VPKSoft 2022 | ||
-p, --pid A process identifier (PID) to wait for exit before starting | ||
the application. | ||
-b, --backup A file name to backup the application data before complete | ||
startup. | ||
-r, --restore Restores a backup from a zipped file into the program | ||
application data folder overriding the existing. | ||
--help Display this help screen. | ||
--version Display version information. | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Komentoriviparametrit | ||
Sovellus tukee komentoriviparametrejä enimmäkseen varmuuskopiointia ja varmuuskopion palautusta varten. | ||
|
||
Komentoriviparametrien aputekstin saa näkyviin käyttämällä `--help`-valitsinta. | ||
|
||
``` | ||
amp.EtoForms 1.0.1.3 | ||
Copyright © VPKSoft 2022 | ||
-p, --pid Prosessitunniste (PID) jonka päättymistä | ||
odottaa ennen sovelluksen käynnistämistä. | ||
-b, --backup Tiedostonimi johon varmuuskopioida sovelluksen | ||
tiedot ennen käynnistymistä. | ||
-r, --restore Palauttaa ZIP-pakatun varmuuskopioin sovelluksen | ||
tietokansioon kirjoittaen yli olemassa olevat tiedostot. | ||
--help Näytä tämä apunäkymä. | ||
--version Näytä versiotiedot. | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#region License | ||
/* | ||
MIT License | ||
Copyright(c) 2022 Petteri Kautonen | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
*/ | ||
#endregion | ||
|
||
using amp.Shared.Interfaces; | ||
|
||
namespace amp.Database.DataModel; | ||
|
||
/// <summary> | ||
/// An entity to store version info of the software migrations. | ||
/// Implements the <see cref="amp.Shared.Interfaces.IEntityBase{T}" /> | ||
/// </summary> | ||
/// <seealso cref="amp.Shared.Interfaces.IEntityBase{T}" /> | ||
public class SoftwareMigrationVersion : IEntityBase<long> | ||
{ | ||
/// <inheritdoc /> | ||
public long Id { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the software migration version. | ||
/// </summary> | ||
/// <value>The software migration version.</value> | ||
public int Version { get; set; } | ||
} |
Oops, something went wrong.