Ravendb documentation says to simply set the DataDirectory name before initializing the DocumentStore, but DocumentStore doesn't have a DataDirectory property :(
var documentStore = new DocumentStore {
DataDirectory = "path/to/database/directory"
};
documentStore.Initialize();
The code above doesn't compile :(
Ok, my bad...
I was using Raven.Client-3.5.dll, you have to use Raven.Client.dll
Yeah - hosting RavenDB involves
This means that you can't run it in 3.5 and you can't run it using the Lightweight client :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With