cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Importing Large amount of Data .NET

OmarHamdy
Node Clone

I have larger amount of data in the following form : 

The nodes tree of data in the form of class containing list of the other 

for example : 

Class site {

string name;

List<equipment> equipment;

}

Class equipment{

string name;

List<Tags> tags;

}

...etc

list of sites having list of equipment and every equipment  has list of tags

lists containing lists , how can i add this large amount of data in this form ?

 

2 REPLIES 2

You mean with Cypher or Neo4jClient ? The latter has afaik batching operations built in.

With Cypher you can pass your data e.g. as list of dictionaries and then use UNWIND 

See 

https://medium.com/neo4j/5-tips-tricks-for-fast-batched-updates-of-graph-structures-with-neo4j-and-c...

Actually I am using Neo4j Driver , Can you give me a code example for C# "Site" object has list of "Equipment" objects because i am still a little confused about how to implement your solution