Class UpdateDatabase
- Namespace
 - PolarStudio
 
- Assembly
 - PolarStudio.dll
 
This class is used to update a polar studio data database to the newest version according to the used project.
public static class UpdateDatabase
  - Inheritance
 - 
      
      UpdateDatabase
 
- Inherited Members
 
Methods
PerformUpdate(Context, int, DataConnector, bool)
This method updates the application's database to the newest version based on the rules and SQL statements in the current project. Is normally automatically executed on startup of the project.
public static string PerformUpdate(Context pContext, int pSysApplicationID, DataConnector pApplicationDataConnector, bool pSuppressWarnings = false)
  Parameters
pContextContextA context to run.
pSysApplicationIDintThe SysApplicationID of the application which database is to be updated.
pApplicationDataConnectorDataConnectorThe data connector to connect to the database for this application.
pSuppressWarningsboolA boolean indicating non-fatal warnings are to be suppressed.
Returns
- string
 A string with an error message if applicable.