MetaForeignKeyColumn.GetForeignKeyPath Metoda

Definice

Získá cestu pro určenou stránku akce nadřazené tabulky zadaného pole cizího klíče.

Přetížení

GetForeignKeyPath(String, Object)

Získá cestu pro určenou stránku akce nadřazené tabulky zadaného pole cizího klíče.

GetForeignKeyPath(String, Object, String)

Získá cestu pro určenou stránku akce nadřazené tabulky zadaného pole cizího klíče.

GetForeignKeyPath(String, Object)

Získá cestu pro určenou stránku akce nadřazené tabulky zadaného pole cizího klíče.

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

Parametry

action
String

Cílová akce

row
Object

Řádek, který obsahuje pole cizího klíče.

Návraty

String

Cesta pro určenou stránku akce nadřazené tabulky zadaného pole cizího klíče

Poznámky

GetForeignKeyPath(String, Object)Metoda vrátí cestu pro určenou stránku akce na základě tras definovaných pro aplikaci ASP.NET Dynamic Data. Tato metoda vrátí prázdný řetězec, pokud row je null .

Můžete použít hodnoty definované ve PageAction třídě pro action parametr.

Viz také

Platí pro

GetForeignKeyPath(String, Object, String)

Získá cestu pro určenou stránku akce nadřazené tabulky zadaného pole cizího klíče.

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

Parametry

action
String

Cílová akce

row
Object

Řádek, který obsahuje pole cizího klíče.

path
String

Cílová stránka

Návraty

String

Cesta pro určenou stránku akce nadřazené tabulky zadaného pole cizího klíče

Poznámky

GetForeignKeyPath(String, Object)Metoda vrátí cestu pro zadanou stránku akce na základě zadaného path . Tato metoda vrátí prázdný řetězec, pokud row je null .

Můžete použít hodnoty definované ve PageAction třídě pro action parametr.

Viz také

Platí pro