public ArangoWithDatabaseDispatcher(string database) { DatabaseName = database; Document = new ArangoDocumentDispatcher(database); Edge = new ArangoEdgeDispatcher(database); Collection = new ArangoCollectionDispatcher(database); Importer = new ArangoImportDispatcher(database); SimpleQuery = new ArangoSimpleQueryDispatcher(database); }
public ArangoClient() { _dispatcher = new OperationDispatcher(); _database = new ArangoDatabaseDispatcher(); _document = new ArangoDocumentDispatcher(); _edge = new ArangoEdgeDispatcher(); _collection = new ArangoCollectionDispatcher(); _importer = new ArangoImportDispatcher(); _simpleQuery = new ArangoSimpleQueryDispatcher(); }