No edit summary |
(Updated Edited template to July 12, 2025.) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<message>Write the content here to display this box</message> | |||
VistaDB is an embedded DB licensed from [https://vistadb.com/ Gibraltar software]. | VistaDB is an embedded DB licensed from [https://vistadb.com/ 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. | 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 | If you would rather continue to work with SQLCompactDB (since you will be on Windows), you can do so by deleting the files in red and restarting the server: | ||
[[File:2024-02-05 11h19 12.png|none|thumb]] | |||
''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. | [[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) | 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: | In MDrivenServer/App_Data: | ||
# Delete/rename the current DB DatabaseVistaDB.vdb6 to conceal it. | # Delete/rename the current DB DatabaseVistaDB.vdb6 to conceal it. | ||
Line 14: | Line 18: | ||
# Restart the server. | # Restart the server. | ||
[[Category:MDriven Server]] | [[Category:MDriven Server]] | ||
{{Edited|July|12|2025}} |
Latest revision as of 06:24, 20 January 2025
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 would rather continue to work with SQLCompactDB (since you will be on Windows), you can do so by deleting the files in red and restarting the server:
Internal note to Builders: The VistaDB's Nuget package is not public. You need to add the path in VS: C:\capableobjectswush\Xternal\VistaDB
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.