MetaForeignKeyColumn.GetForeignKeyPath Method (String, Object)
.NET Framework (current version)
Gets the path for the specified action page of the parent table of the specified foreign-key field.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
abstract GetForeignKeyPath : action:string * row:Object -> string override GetForeignKeyPath : action:string * row:Object -> string
Parameters
- action
-
Type:
System.String
The target action.
- row
-
Type:
System.Object
The row that contains the foreign-key field.
Return Value
Type: System.StringThe path for the specified action page of the parent table of the specified foreign-key field.
The GetForeignKeyPath(String, Object) method returns the path for the specified action page based on the routes defined for the ASP.NET Dynamic Data application. This method returns an empty string, if row is null.
You can use the values defined in the PageAction class for the action parameter.
.NET Framework
Available since 3.5
Available since 3.5
Show: