Questions tagged [neo4jclient]

Neo4jClient is an open source .NET client for the Neo4j graph database.

Neo4jClient is an open source .NET client for the Neo4j graph database.

It is primarily focused on Cypher queries, and is in active development. There is support for the CRUD REST API and Gremlin queries, however these approaches are both considered legacy and are not being developed.

It has an official site with documentation, and is available via NuGet.

627 questions
2
votes
1 answer

Neo4j Error - Failed to find an expected property (cypher) in the JSON at path data

I'm trying to connect to a remote Neo4j database using Neo4jClient (C#). I get the following error when calling the "Connect" method on my Neo4jClient object instance: System.InvalidOperationException: While trying to map some JSON into an object of…
Draco
  • 16,156
  • 23
  • 77
  • 92
2
votes
1 answer

Return all nodes from Neo4j database in c#

I am still very new to programming, but what I am trying to reach for now is a piece of code that will show me all of my nodes in my Visual studio. I connected my c# to my database, but what I can't see why I can't show back my nodes. The .Results…
2
votes
1 answer

Practical performance comparision of Neo4j and MSSQL for C# developers

Assume we have a web site with a small social graph that people (say ~1M users) can "like" stuff, follow each other, comment on each other posts and ... (the usual scenario). In .NET for this we have two options: Using EF (currently 6.1) and MSSQL…
mrtaikandi
  • 6,753
  • 16
  • 62
  • 93
2
votes
1 answer

Orderby desc multiple properties in Neo4jClient

Suppose I have 4 photos and I want to return a list sorted first on Rating desc, second on RatingsCount desc. Below cypher query gives me the correct result: MATCH (n:`Photo`) WHERE n.RatingsCount > 0 RETURN n.Rating, n.RatingsCount ORDER BY…
Jenny Pettersson
  • 241
  • 4
  • 17
2
votes
1 answer

Can't create an item using the Neo4Jclient

I'm trying to programmatically save information to a Neo4J DB using the Neo4Jclient. I've been trying to follow the examples but it doesn't seem to be working. I've created a database connection which seems to work, but my code won't compile due to…
Nav
  • 95
  • 10
2
votes
1 answer

performances issues using neo4jclient

I'm currently exploring graph database potential for some processes in my industry. I've started with Neo4Jclient one week ago so I'm below the standard beginner :-) I'm very excited about Neo4J but I'm facing huge performances issues and I need…
max rebar
  • 23
  • 3
2
votes
2 answers

Cypher query using UNWIND in Neo4jClient

Since the current version of Neo4jClient does not support UNWIND, I am having troubles rewriting the following Cypher query : MATCH (:A{UId:someByteArray})--(b1:B)-[:C]-(b2:B) MATCH p = (b1)-[:C*]->(b2) WITH b1.someString as s1,…
TermoTux
  • 588
  • 4
  • 17
2
votes
0 answers

Neo4jClient Repository?

Has anyone succeed in developing a repository for Neo4j>2.0 and Neo4jClient? I searched extensively in the internet for a repository pattern but all available are based on Neo4j<2.0. Since I am new to this, it would help me considerably if someone…
Ankit Sinha
  • 421
  • 3
  • 11
2
votes
1 answer

Neo4jClient return rows as arrays instead of objects?

I'm hoping this hasn't been answered before, but I searched both StackOverflow and Google a few times and couldn't get the answer to this. Neo4jClient usually returns rows as objects of a certain type, is there any way to get each row as an array…
Ianvdl
  • 57
  • 8
2
votes
0 answers

Returning a nested object with Neo4jClient

I am creating an application with several interconnected items. One of the things I would like to do, is easily fetch nested objects based on relationships. Say I have the json structure displayed below: Categories = [ { name: "projectors", …
AHerforth
  • 125
  • 1
  • 2
  • 7
2
votes
1 answer

Create a new database through neo4j client

How to create a new database in neo4j through neo4j .net readify client?? by default it takes me to the same database
Naved Mir
  • 97
  • 2
  • 9
2
votes
1 answer

how to use neo4jclient to connect to neo4j(not localhost)

I am using neo4jClient to connect to neo4j(not localhost,just like [http://someplace:7474]) Now I always get the answer "401 unauthorized". It seems I need to enter username ans password? Can anyone help me? Thanks a lot~
user2234995
  • 285
  • 3
  • 10
2
votes
2 answers

Unable to delete 15k+ nodes using neo4jclient

I am writing a Windows console application in C# that is supposed to import 15k nodes from an XML file and build a graph database in Neo4j (2.0.0) using the neo4jclient. At the very beginning of the app, I am trying to remove all nodes and…
Francesco Gallarotti
  • 1,221
  • 1
  • 16
  • 39
2
votes
1 answer

neo4jclient Expression type Add is not supported

I have two Nodes - Phone and Users. 10000 Phones and 10000 users. I want connect it with relation.Its show me error neo4jclient Expression type Add is not supported for (int k=1;k<10000;k++) { client.Cypher …
2
votes
2 answers

Convert cypher query to c#

I have two tables: User Name Surname Phone number type_of_number var myList = ((IRawGraphClient) client).ExecuteGetCypherResults<**i_need_class_to_save_it**>( new CypherQuery("match (a:User)-[r]->(b:Phone)…