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
2 answers

Ordering By Relationship Property Using Neo4jClient C#

I want to get the following query in its C# equivalent: match(p:Person)-[r1:HAS]->(s:Shelf) optional match(s)-[r2:CONTAINS]->(l:Link) return p,s,l order by r2.time_modified; I initially thought about this but it doesn't work: var result = await…
Williams Adu
  • 149
  • 1
  • 12
2
votes
1 answer

Why is a query 10 times slower through code as opposed to the Neo4j Client?

Recently I have been given the task to research and deliver a proof of concept of the effects of a NoSQL database. I have chosen Neo4j as the NoSQL database for this .NET application. The thing is... When I execute a query using the Neo4j Client, it…
Daniel
  • 127
  • 7
2
votes
1 answer

Neo4j single instance of connection

I'am working at application in ASP.NET MVC 5 which is supported by Neo4j graph database. I'am using Neo4jClient and Neo4j.AspNet.Identity. To connect with database there is a class called GraphClient. Below is the way to instatiate connection: var…
Drozdin
  • 25
  • 5
2
votes
1 answer

Neo4JClient Create Unique Constraint

I am trying to create unique constrain using accepted answer found at: Neo4jClient - Create index from within Neo4jClient? I am using Neo4jClient v1.1.0.11 The example is: graphClient.Cypher .CreateUniqueConstraint("identity", "property") …
huber.duber
  • 762
  • 2
  • 7
  • 31
2
votes
2 answers

How to create a graph interface like server browser in Neo4J ?

I'm starting with Neo4J and I've done installing it from my computer. But I would like to show in my application the same graphical interface that it uses the "Server Browser". It is a plugin? How to implement the same layout? I'm already executed…
Jhonathan
  • 330
  • 1
  • 2
  • 14
2
votes
3 answers

neo4jClient create node with dynamic label using paramters

I am building an app that give users the ability to construct there own graphs. I have been using parameters for all queries and creates. But when I want to give users the ability to create a node where they can also Label it anything they…
abarraford
  • 655
  • 2
  • 7
  • 23
2
votes
2 answers

How to catch an exception in external dll?

I want to catch exceptions that occurs when I try to connect to my neo4j database using the Neo4jClient.dll. If the database is offline I get the following error: "an exception of type 'System.AggregateException' occurred in mscorlib.dll but was not…
markai
  • 101
  • 1
  • 8
2
votes
1 answer

Neo4jclient, How to Unify or Merge To Different result but in same type?

I Have problem that solved by checking two different type of relation for two same node. For example, we have to Match section as below: 1. Match("(u:User)-[r:USER_IN_SITE]->(w:WebEnvir)") .Return(u => u.As()) …
2
votes
0 answers

Create a relationship only if a similar one exist - neo4j

I have a linked list such that every node has a 'next' relation pointed to the next node, the first node has another relation : 'first' which pointed to it from some category. I'm trying to write a delete function that uses cypher to do so but I…
Rawhi
  • 6,155
  • 8
  • 36
  • 57
2
votes
1 answer

Cannot implicitly convert type from System.Collection.Generic.IEnumerable.MyClass to MyClass

Following is the code for which the error is being generated: using System; using System.Collections.Generic; using System.Linq; using System.Text; using Neo4jClient; using Neo4jClient.Cypher; namespace ConsoleApplication1 { public class…
Nitin Labhishetty
  • 1,290
  • 2
  • 21
  • 41
2
votes
1 answer

Constructing a method call

in trying to follow this guide: https://github.com/Readify/Neo4jClient/wiki/cypher-examples#get-all-users-by-label I need to create a lambda expression in order to provide it to the Return method. In C# it looks like this: .Return(n =>…
ekkis
  • 9,804
  • 13
  • 55
  • 105
2
votes
2 answers

neo4j.Asp.Net.Identity Sample Project

I'm new at neo4j and I want to use neo4j.Asp.Net.Identity for authentication and authorization but I can't find any sample that implements that.Anybody knows how can I find a sample for that? I'm also want to use Token-Base authentication for…
2
votes
1 answer

neo4j, neo4jclient order by Turkish (or other) alphabetical order

is there a way to order nodes according to a property's Turkish alphabetical order? Currently non-ASCII characters are ordered after "Z"..
2
votes
1 answer

How to create nodes in neo4j with properties defined by a dictionary via neo4jclient in C#

As a complete novice programmer I am trying to populate my neo4j DB with data from heterogeneous sources. For this I am trying to use the Neo4jClient C# API. The heterogeneity of my data comes from a custom, continuously evolving DSL/DSML/metamodel…
Janos
  • 101
  • 1
  • 6
2
votes
1 answer

Is combining MongoDB with Neo4J a good practice?

I already have a .Net Web project running on MongoDB where I store some news/feed data. After a while I needed a faster way to track "who shared what" and "how to find relationships depending on these information". Then I came up with an idea to use…
stckvflw
  • 329
  • 3
  • 10