Пример #1
0
 public NodeRepo()
 {
     _relationShipRepo = new RelationShipRepo();
 }
Пример #2
0
 public static Relationship Get(int relationshipID)
 {
     Persistance.RelationShipRepo db = new RelationShipRepo();
     return db.GetRelationship(relationshipID.ToString());
 }
Пример #3
0
 private Relationship()
 {
     _relationshipRepo = new RelationShipRepo();
     _nodeRepo = new NodeRepo();
     base.SetRepository(_relationshipRepo);
 }
Пример #4
0
 public Node()
 {
     _nodeRepo         = new Persistance.NodeRepo();
     _relationShipRepo = new Persistance.RelationShipRepo();
     base.SetRepository(_nodeRepo);
 }
Пример #5
0
 public Node()
 {
     _nodeRepo = new Persistance.NodeRepo();
     _relationShipRepo = new Persistance.RelationShipRepo();
     base.SetRepository(_nodeRepo);
 }
Пример #6
0
 public NodeRepo()
 {
     _relationShipRepo = new RelationShipRepo();
 }