Table of Contents

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

pContext Context

A context to run.

pSysApplicationID int

The SysApplicationID of the application which database is to be updated.

pApplicationDataConnector DataConnector

The data connector to connect to the database for this application.

pSuppressWarnings bool

A boolean indicating non-fatal warnings are to be suppressed.

Returns

string

A string with an error message if applicable.