public void GetTableFromRouteData3() { var r = new DynamicDataRoute("x"); var rd = new RouteData(); rd.Values["Table"] = "FooTable"; var t = r.GetTableFromRouteData(rd); }
public void GetTableFromRouteData() { var r = new DynamicDataRoute("x"); var rd = new RouteData(); // rd must have "Table" value r.GetTableFromRouteData(rd); }
public void GetTableFromRouteData2() { var r = new DynamicDataRoute("x"); r.Model = new MetaModel(); var rd = new RouteData(); rd.Values["Table"] = "y"; r.GetTableFromRouteData(rd); // no such table }