Dynamic Data Web Application编译是报GetActionPath调用模糊解决办法
新建的Dynamic Data Web Application编译时报错
Error 3 The call is ambiguous between the following methods or properties: 'System.Web.DynamicData.MetaTable.GetActionPath(string, System.Collections.Generic.IList<object>)' and 'System.Web.DynamicData.MetaTable.GetActionPath(string, System.Web.Routing.RouteValueDictionary)' D:\test\DynamicData\PageTemplates\List.aspx.cs 31 43 test
解决办法:
System.Web.Routing.RouteValueDictionary myDictionary = null;
InsertHyperLink.NavigateUrl = table.GetActionPath(PageAction.Insert, myDictionary);