Skip to content

Commit c65ab4f

Browse files
Hadi FadlallahHadi Fadlallah
Hadi Fadlallah
authored and
Hadi Fadlallah
committed
improved code
1 parent 7c828fa commit c65ab4f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

SQLToArangoDBDemo/Program.cs

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
1-
using System;
2-
using SqlToArangoDB;
1+
using SqlToArangoDB;
32
namespace SQLToArangoDBDemo
43
{
54
public class Program
65
{
76
static void Main(string[] args)
87
{
9-
using (SQLReader reader = new SQLReader("Server=DESKTOP-KCL006K\\DATASERVER;Database=GraphPL;Trusted_Connection=yes;"))
8+
using (SQLReader reader = new SQLReader("Server=<machine name>\\<instance>;Database=<database name>;Trusted_Connection=yes;"))
109
{
1110
reader.GetNodes();
1211
reader.GetEdges();
1312

14-
using (ArrangoDbWriter writer = new ArrangoDbWriter("http://localhost:8529", "TestGraph", "root", "123"))
13+
using (ArrangoDbWriter writer = new ArrangoDbWriter("http://localhost:8529", "<database name>", "<user>", "<password>"))
1514
{
1615
writer.ImportNodes(reader.Nodes);
1716
writer.ImportEdges(reader.Edges);

0 commit comments

Comments
 (0)