You are here

Database paths

2 posts / 0 new
Last post
admoveo
admoveo's picture
Database paths

Hello from Spain,

Is there an easier way to change the Path of a database than changing the config file of the server and restarting it?
That's very tedious in my case, since I work locally and change frequently of database path. My program stores a set of projects (objects) each one on an independent database file, so they can be treated separately and sent by email.
I was writting my program against db4o persistence and I'm considering migrating it to EloqueraDB since it seems simpler to manage and cheaper ;-) but I find that this scenario could not be the best. The ideal solution (only as a suggestion) could be passing the connection string as a parameter on the "OpenDatabase()" method. Could this be possible in a future release?

P.D. Thanks in advance. I think you're making a very interesting job. My best wishes for it!

dmytro
dmytro's picture

Hello!

This might help
http://www.eloquera.com/sites/default/files/filepicker/1/Help/Documentat...

DB db = new DB("server=(local);options=none;");
DB.Configuration.ServerSettings.DatabasePath = @"c:\dev\db";

Keep in mind that Eloquera has different direction from db4o - Eloquera is not targeting embedded market, but enterprise market.

Copyright © 2008-2012 Eloquera Corp. All rights reserved.