Changes

Database View Creation

428 bytes added, 19 April
|}
{{Attention|Settings can only be configured while the View Creation is disabled!{{Version/ServerSince|4.7.0}}}}
{{Attention|After changing the View Creation Target field we recommend disabling the View Creation and restarting UBIK.Studio (as settings are read during the initialization of the system).}}
 
[[Category:Database|Database View Creation]]
=== Enabling and Disabling the View Creation ===
To enable There is a button for enabling and disable disabling the view creation you have to use the View Creation button that is , located at the bottom of UBIKĀ® Studio". {{Version/ServerSince|4.7.0}}It governs the setting for enabling and disabling database view creation and makes sure to create or update the views if necessary.
[[File:View Content Button1.png|thumb|600px|View Creation button]]
{| class="wikitable" | width = "50%"
|}
[[Category:DatabasePrior to UBIK version 4.7, the views can be created and dropped by code. {{Version/ServerSince|Database View Creation]]4.4.0}}[[Category:Pages with broken file links|Database View Creation]]<source lang="csharp"> bool result = anyUbikObject.Environment.UBIKDataFactory().CreateAllViews();</source><source lang="csharp"> bool result = anyUbikObject.Environment.UBIKDataFactory().DropAllViews();</source>Further, to enable the view creation, the respective setting has to be set to "Enabled" manually.
=== 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.
 
[[Category:Database|Database View Creation]]
= See also =
[[Category:Database|Database View Creation]]
[[Category:Studio|Database View Creation]]
1,606
edits