Beispiel #1
0
 public Neo4jUnwrapedResult GetLinksByClass(string label)
 {
     return(new Neo4jUnwrapedResult(Execute(new Statement(StoredQueries.GetLinksByClass(label)))));                       //Checked
 }
Beispiel #2
0
 public Neo4jUnwrapedResult UpdateEntity(Entity item)
 {
     return(new Neo4jUnwrapedResult(Execute(new Statement(StoredQueries.UpdateEntityQuery(item), item.Properties))));      //Checked
 }
Beispiel #3
0
 public Neo4jUnwrapedResult GetEntitiesByClass(string[] labels)
 {
     return(new Neo4jUnwrapedResult(Execute(new Statement(StoredQueries.GetEntityByClass(labels)))));                     //Checked
 }
Beispiel #4
0
 public Neo4jUnwrapedResult FindLink(Link link)
 {
     return(link.Properties.Count != 0 ?
            new Neo4jUnwrapedResult(Execute(new Statement(StoredQueries.FindLinkQuery(link), link.Properties))) :
            new Neo4jUnwrapedResult(Execute(new Statement(StoredQueries.FindLinkQuery(link.Type)))));                    //Checked
 }
Beispiel #5
0
 public Neo4jUnwrapedResult GetLinkById(long id)
 {
     return(new Neo4jUnwrapedResult(Execute(new Statement(StoredQueries.GetLinkById(id)))));                               //Checked
 }
Beispiel #6
0
 public Neo4jUnwrapedResult CreateLink(Link link)
 {
     return(new Neo4jUnwrapedResult(Execute(new Statement(StoredQueries.CreateLinkQuery(link), link.Properties))));      //Checked
 }
Beispiel #7
0
 public Neo4jUnwrapedResult CountQuery(string[] label)
 {
     return(new Neo4jUnwrapedResult(Execute(new Statement(StoredQueries.CountQuery(label)))));                           //Checked
 }
Beispiel #8
0
 public Neo4jUnwrapedResult CountQuery(Dictionary <string, object> param)
 {
     return(new Neo4jUnwrapedResult(Execute(new Statement(StoredQueries.CountQuery(param)))));
 }
Beispiel #9
0
 public Neo4jUnwrapedResult FindEntity(Entity item)
 {
     return(item.Properties.Count != 0 ?
            new Neo4jUnwrapedResult(Execute(new Statement(StoredQueries.FindEntityQuery(item), item.Properties))) :
            new Neo4jUnwrapedResult(Execute(new Statement(StoredQueries.FindEntityQuery(item.Labels)))));                //Checked
 }
Beispiel #10
0
 public Neo4jUnwrapedResult CreateEntity(Entity item)
 {
     return(item.Properties.Count != 0 ?
            new Neo4jUnwrapedResult(Execute(new Statement(StoredQueries.CreateEntityQuery(item), item.Properties))) :
            new Neo4jUnwrapedResult(Execute(new Statement(StoredQueries.CreateEntityWithoutQuery(item)))));
 }