Closed di97mni closed 9 years ago
Last I checked, the embedded store didn't support multiple databases. It's been awhile since I looked though. Has that changed?
The tests pass if you use the store's original catalog, which has the NodaTime plugin registered already.
var dbCatalog = new CompositionContainer(store.Configuration.Catalog);
I need to split the indexes between different DBs. I posted in the RDB forum because it's probably an issue with RDB then. Or user error :smile:
I think you will need to create two different EmbeddableDocumentStore
instances. As far as I am aware, multiple databases are not supported in a single embedded store. Only the full RavenDB server supports multiple databases.
Is this a RavenDB-NodaTime issue or RavenDB?
First test is OK but second test
Can_create_Nodatime_index_in_another_db
fails with errorRaven.Abstractions.Exceptions.IndexCompilationExceptionCompilation Errors: Line 28, Position 12: Error CS0103 - The name 'NodaTimeField' does not exist in the current context