Changes

Database View Creation

1,329 bytes added, 15:24, 24 October 2022
=== Enabling the View Creation ===
To enable the View Creation you have to change the Setting to "Enabled".
|-
|}
 
After the Setting is set to "Enabled" we recommend to restart UBIK.Studio (as Settings are read during the initialization of the System).
The initial creation of "all" Views must be triggered using Custom Code (e.g. using the "Debug View):
<source lang="csharp">
bool result = anyUbikObject.Environment.UBIKDataFactory().CreateAllViews();
</source>
 
 
=== Disabling the View Creation ===
To disable the View Creation you have to change the Setting to "Disabled".
 
After the Setting is set to "Disabled" we recommend to restart UBIK.Studio (as Settings are read during the initialization of the System).
The removal of "all" Views must be triggered using Custom Code (e.g. using the "Debug View):
<source lang="csharp">
bool result = anyUbikObject.Environment.UBIKDataFactory().DropAllViews();
</source>
 
 
=== Resolving an Error in View Creation ===
If the setting has changed to "Error" the system indicates that there was an error during the creation of Views.
You will find detail information about what has happened in the corresponding Exception a/o Error Logs. Please fix the source of the problem in the data structure before enabling the View Creation.
To re-enable the View Creation we recommend to first, fully disable the feature (incl. DropAllViews) and then re-enable it (incl. CreateAllViews).
1,514
edits