public TestBase() { connFactory = new Neo4jConnectionFactory(); paths = new PathsDataService(connFactory); folders = new FoldersDataService(connFactory, paths); workflows = new WorkflowService(AssemblyDirectory + "\\" + ConfigurationManager.AppSettings["WorkflowFolder"], new Guid(ConfigurationManager.AppSettings["WorkflowStoreId"]), connFactory); documentFiles = new DocumentFilesDataService(connFactory, paths); documentsWorkflows = new DocumentsWorkflowsService(connFactory, workflows, documentFiles); documents = new DocumentsDataService(connFactory, paths, documentsWorkflows); connFactory.InitAndEraseAll(); }
public TagsDataService(IConnectionFactory connFactory, IPathsDataService paths) { this.client = connFactory.GetConnection(); this.paths = paths; }
public DocumentsDataService(IConnectionFactory connFactory, IPathsDataService paths, IDocumentsWorkflowsService documentsWorkflows) { this.client = connFactory.GetConnection(); this.paths = paths; this.documentsWorkflows = documentsWorkflows; }