/ObjectStore

ObjectStore: A declarative way of persisting and versioning objects, as well as managing dependencies and events between them.

Primary LanguageC#

README

Please read the accompanying wiki page

Please make sure you have read the wiki after you have completed compiling the sources and running the test suite.

Compiling the source

  1. Open the solution folder in Visual Studio 2017. (The targetted .Net framework is 4.5.2.)
  2. Nuget will ensure that all packages are downloaded before compilation.
  3. This project currently uses MySQL as the database server. The schema script file for the required is included in the ObjectStore\Persistency.Adaptors\MySql\ folder ("Schema.txt").
  4. Make sure you run this database script to create the database on your local (or even remote) server.
  5. Open the TestBase.cs file in the ObjectStore.Tests\Tests\ folder. Add proper credentials of your database instance in the AppConfigSimulator method for the following properties: Host, PortNo, DbName, Username, Password. These reporesent, in the same order, your MySQL database host, MySQL port, the database name, your MySql database username so that you able to access the database, and the password.
  6. Leave the PersistenceDriver property as is.
  7. Compile the project.
  8. Make sure you have NUnit installed on your development machine.
  9. Once the compilation completes successfully, open the file ObjectStore.Tests.nunit in the ObjectStore.Tests\ project folder.
  10. You will be able to view the test suite in the NUnit runner.
  11. Run the entire test suite by pressing F5.
  12. Hopefully you should see a green bar after the test suite completes running all the tests. This shouldn't take more than a few seconds.
  13. Read the accompanying wiki.