Interface IDatabaseStatusProxy
Namespace: LemonEdge.API.Core.Data
Assembly: LemonEdge.API.dll
Syntax
[ProxyController]
public interface IDatabaseStatusProxy
Methods
IsUpgrading()
Indicates the database you are currently trying to connect to is upgrading.
If you have a direct connection to the database, the system can attempt to force an upgrade too ForceUpgrade()
If this is through a web service it always returns false - you do not have access to the state of the databaseDeclaration
[AllowAnonymous]
[HttpGet("IsUpgrading")]
Task<DBStatus> IsUpgrading()
Returns
Type | Description |
---|---|
Task<DBStatus> | Indicates the database you are currently trying to connect to is upgrading. |