public NodeRepo() { _relationShipRepo = new RelationShipRepo(); }
public static Relationship Get(int relationshipID) { Persistance.RelationShipRepo db = new RelationShipRepo(); return db.GetRelationship(relationshipID.ToString()); }
private Relationship() { _relationshipRepo = new RelationShipRepo(); _nodeRepo = new NodeRepo(); base.SetRepository(_relationshipRepo); }
public Node() { _nodeRepo = new Persistance.NodeRepo(); _relationShipRepo = new Persistance.RelationShipRepo(); base.SetRepository(_nodeRepo); }