Exemplo n.º 1
0
        private static DocumentStore SetupStore(string databaseUrl, string databaseName)
        {
            var documentStore = RavenHelper.CreateStore(databaseUrl, databaseName);

            SetupIndexes(documentStore);
            return(documentStore);
        }
Exemplo n.º 2
0
        private static DocumentStore SetupStore(string connectionString)
        {
            var documentStore = RavenHelper.CreateStore(connectionString);

            SetupIndexes(documentStore);
            return(documentStore);
        }