示例#1
0
 public void EachRelationHasEdge(DataSet dataSource)
 {
     foreach (DataRelation relation in dataSource.Relations)
     {
         Assert.IsNotNull(graph.GetEdge(relation),
                          "The relation {0} was not found in the graph", relation.RelationName);
     }
 }