GetNode() public method

public GetNode ( Node node ) : Node
node Net.Graph.Neo4JD.Node
return Net.Graph.Neo4JD.Node
Example #1
0
 public static Node Get(int id)
 {
     try
     {
         Persistance.NodeRepo db = new Persistance.NodeRepo();
         return(db.GetNode(id.ToString()));
     }
     catch (System.Net.WebException ex)
     {
         throw new Exceptions.NodeNotFoundException(ex, id);
     }
 }
Example #2
0
 public static Node Get(int id)
 {
     try
     {
         Persistance.NodeRepo db = new Persistance.NodeRepo();
         return db.GetNode(id.ToString());
     }
     catch (System.Net.WebException ex)
     {
         throw new Exceptions.NodeNotFoundException(ex,id);
     }
 }
Example #3
0
 public static Node Get(string location)
 {
     Persistance.NodeRepo db = new Persistance.NodeRepo();
     return(db.GetNode(new Uri(location)));
 }
Example #4
0
 public static Node Get(string location)
 {
     Persistance.NodeRepo db = new Persistance.NodeRepo();
     return db.GetNode(new Uri(location));
 }