Example #1
0
 public Association(Model model, string id)
 {
     _model = model;
     _edge = (model as IModelGraphAdapter).GetEdge(new EdgeId(id));
 }
Example #2
0
 /// <summary>
 /// Remove the provided edge from the graph.
 /// </summary>
 /// <param name="edge">The edge to be removed from the graph</param>
 public void RemoveEdge(IHaymanEdge edge)
 {
     _edges.Remove(edge.Id);
 }