Interface IInstallationService
Service to manage (install master database / upgrade version / etc.) the installation
public interface IInstallationService
Methods
Install(InstallConfig)
Starts the installation process
Task<Installation> Install(InstallConfig config)
Parameters
config
InstallConfigconnectionString, database type, alias etc.
Returns
- Task<Installation>
internal status/message object
IsInstalled()
Returns a status/message object with the current installation state
Task<Installation> IsInstalled()
Returns
- Task<Installation>
RegisterAsync(string)
Registers a new User
Task RegisterAsync(string email)
Parameters
email
stringEmail of the user to be registered
Returns
- Task
RestartAsync()
Restarts the installation
Task RestartAsync()
Returns
- Task
internal status/message object
Upgrade()
Starts the upgrade process
Task<Installation> Upgrade()
Returns
- Task<Installation>
internal status/message object