MetaForeignKeyColumn.GetForeignKeyPath 方法

定义

获取指定外键字段父表的指定操作页的路径。

重载

名称 说明
GetForeignKeyPath(String, Object)

获取指定外键字段父表的指定操作页的路径。

GetForeignKeyPath(String, Object, String)

获取指定外键字段父表的指定操作页的路径。

GetForeignKeyPath(String, Object)

获取指定外键字段父表的指定操作页的路径。

public:
 System::String ^ GetForeignKeyPath(System::String ^ action, System::Object ^ row);
public:
 virtual System::String ^ GetForeignKeyPath(System::String ^ action, System::Object ^ row);
public string GetForeignKeyPath(string action, object row);
member this.GetForeignKeyPath : string * obj -> string
abstract member GetForeignKeyPath : string * obj -> string
override this.GetForeignKeyPath : string * obj -> string
Public Function GetForeignKeyPath (action As String, row As Object) As String

参数

action
String

目标操作。

row
Object

包含外键字段的行。

返回

指定外键字段父表的指定操作页的路径。

注解

GetForeignKeyPath(String, Object) 方法根据为 ASP.NET 动态数据应用程序定义的路由返回指定操作页的路径。 此方法返回一个空字符串(如果 rownull)。

可以使用类PageActionaction为参数定义的值。

另请参阅

适用于

GetForeignKeyPath(String, Object, String)

获取指定外键字段父表的指定操作页的路径。

public:
 System::String ^ GetForeignKeyPath(System::String ^ action, System::Object ^ row, System::String ^ path);
public:
 virtual System::String ^ GetForeignKeyPath(System::String ^ action, System::Object ^ row, System::String ^ path);
public string GetForeignKeyPath(string action, object row, string path);
member this.GetForeignKeyPath : string * obj * string -> string
abstract member GetForeignKeyPath : string * obj * string -> string
override this.GetForeignKeyPath : string * obj * string -> string
Public Function GetForeignKeyPath (action As String, row As Object, path As String) As String

参数

action
String

目标操作。

row
Object

包含外键字段的行。

path
String

目标页。

返回

指定外键字段父表的指定操作页的路径。

注解

该方法 GetForeignKeyPath(String, Object) 基于指定的 path操作页返回路径。 此方法返回一个空字符串(如果 rownull)。

可以使用类PageActionaction为参数定义的值。

另请参阅

适用于