FieldTemplateUserControl.ForeignKeyPath 属性

定义

获取将当前页面与显示外键实体详细信息的页面链接的 URL。Get the URL that links the current page to the page that displays the details of the foreign key entity.

protected:
 property System::String ^ ForeignKeyPath { System::String ^ get(); };
protected string ForeignKeyPath { get; }
member this.ForeignKeyPath : string
Protected ReadOnly Property ForeignKeyPath As String

属性值

String

链接到外键数据详细信息的 URL。The URL that links to the details of the foreign key data.

注解

如果数据列具有多对一关系,则此属性返回一个 URL,该 URL 链接到显示外键实体详细信息的页面。If the data column has a many-to-one relationship, this property returns a URL that links to the page that displays the details of the foreign key entity. 例如,在 Northwind 数据库的 Product 表的 "类别" 列中,此方法可以返回一个链接,该链接指向产品所属的类别的详细信息。For example, in the Category column of the Product table in the Northwind Database, this method can return a link that goes to the details of the category that the product belongs to. 此属性仅适用于外键列。This property applies to foreign key columns only.

适用于