Skip to content

A class library used to migrate SQL Server graph database into ArangoDB

License

Notifications You must be signed in to change notification settings

munchy-bytes/SQLToArangoDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQLToArangoDB

A class library used to migrate SQL Server graph database into ArangoDB.

Published Articles

Dependencies

Example

using System;

namespace SQLToArangoDB
{
    public class Program
    {
        static void Main(string[] args)
        {
            using (SQLReader reader = new SQLReader("Server=<machine name>\\<instance>;Database=<database name>;Trusted_Connection=yes;"))
            {
                reader.GetNodes();
                reader.GetEdges();

                using (ArrangoDbWriter writer = new ArrangoDbWriter("http://localhost:8529", "<database name>", "<user>", "<password>"))
                {
                    writer.ImportNodes(reader.Nodes);
                    writer.ImportEdges(reader.Edges);
                }

            }

        }
    }
}

About

A class library used to migrate SQL Server graph database into ArangoDB

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages