VistaDB
No edit summary
(Automatically adding template at the end of the page.)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
VistaDB is a an embedded db licensed from [https://vistadb.com/ Gibraltar software]
VistaDB is an embedded DB licensed from [https://vistadb.com/ Gibraltar software].


The main use is to be admin and startup db for MDrivenServer. It will replace the SQLCompact db since this does not work on other platforms than Windows.
Its main use is to be an admin and startup DB for MDrivenServer. It will replace the SQLCompact DB since this does not work on platforms other than Windows.


Internal note to Builders; The VistaDB's nuget package is not public so you need to add path in VS: C:\capableobjectswush\Xternal\VistaDB
If you rather continue to work with SQLCompactDB (since you will be on Windows) you can do so by deleting the files in red and restart the server:
[[File:2021-04-25 16h20 43.png|none|thumb|659x659px]]If a new MDrivenServer (has no valid admin db) sees the file DatabaseVistaDB_TkStartDb.vdb6 it will be copied into DatabaseVistaDB.vdb6 and from that time the MDrivenServer use VistaDB as admin db.
[[File:2024-02-05 11h19 12.png|none|thumb]]


Else if DatabaseCompact_TkStartDb.sdf is seen, it will be copied to DatabaseCompact.sdf and from that point SQLCompact is used as admin db (will not work on core versions)
''Internal note to Builders:'' The VistaDB's Nuget package is not public. You need to add the path in VS: C:\capableobjectswush\Xternal\VistaDB
[[File:2021-04-25 16h20 43.png|none|thumb|659x659px]]If a new MDrivenServer (has no valid admin DB) sees UseVistaDBIfThisFileExists.xml the file DatabaseVistaDB_TkStartDb.vdb6, it will copy it into DatabaseVistaDB.vdb6. From then on, the MDrivenServer will use VistaDB as the admin DB.
 
Otherwise, DatabaseCompact_TkStartDb.sdf will be copied to DatabaseCompact.sdf, and from that point, SQLCompact is used as admin DB (will not work on Linux and macOS).
 
=== Go Back to DatabaseCompact When Needed ===
In MDrivenServer/App_Data:
# Delete/rename the current DB DatabaseVistaDB.vdb6  to conceal it.
# Rename the file "UseVistaDBIfThisFileExists" to hide it.
# Restart the server.
[[Category:MDriven Server]]
{{Edited|July|12|2024}}

Latest revision as of 15:49, 10 February 2024

VistaDB is an embedded DB licensed from Gibraltar software.

Its main use is to be an admin and startup DB for MDrivenServer. It will replace the SQLCompact DB since this does not work on platforms other than Windows.

If you rather continue to work with SQLCompactDB (since you will be on Windows) you can do so by deleting the files in red and restart the server:

2024-02-05 11h19 12.png

Internal note to Builders: The VistaDB's Nuget package is not public. You need to add the path in VS: C:\capableobjectswush\Xternal\VistaDB

2021-04-25 16h20 43.png

If a new MDrivenServer (has no valid admin DB) sees UseVistaDBIfThisFileExists.xml the file DatabaseVistaDB_TkStartDb.vdb6, it will copy it into DatabaseVistaDB.vdb6. From then on, the MDrivenServer will use VistaDB as the admin DB.

Otherwise, DatabaseCompact_TkStartDb.sdf will be copied to DatabaseCompact.sdf, and from that point, SQLCompact is used as admin DB (will not work on Linux and macOS).

Go Back to DatabaseCompact When Needed

In MDrivenServer/App_Data:

  1. Delete/rename the current DB DatabaseVistaDB.vdb6 to conceal it.
  2. Rename the file "UseVistaDBIfThisFileExists" to hide it.
  3. Restart the server.
This page was edited 97 days ago on 02/10/2024. What links here