/// <summary> /// Initializes a new instance of the <see cref="GraphTraversalSource"/> class. /// </summary> public GraphTraversalSource(IRemoteConnection remote = null) { _graphTraversalSource = AnonymousTraversalSource.Traversal(); _graphTraversalSource.Bytecode.AddSource("g"); if (remote != null) { _graphTraversalSource = _graphTraversalSource.WithRemote(remote); } }
/// <summary> /// Initializes a new instance of the <see cref="GraphTraversalSource"/> class. /// </summary> public GraphTraversalSource() { _graphTraversalSource = new Graph().Traversal(); _graphTraversalSource.Bytecode.AddSource("g"); }
/// <summary> /// Initializes a new instance of the <see cref="GraphTraversalSource"/> class. /// </summary> public GraphTraversalSource() { _graphTraversalSource = new Graph().Traversal(); }
/// <summary> /// Initializes a new instance of the <see cref="GraphTraversalSource"/> class. /// </summary> public GraphTraversalSource() { _graphTraversalSource = AnonymousTraversalSource.Traversal(); _graphTraversalSource.Bytecode.AddSource("g"); }