INavigation.ForeignKey 属性

定义

获取定义此导航属性将导航的关系的外键。

public Microsoft.EntityFrameworkCore.Metadata.IForeignKey ForeignKey { get; }
public virtual Microsoft.EntityFrameworkCore.Metadata.IForeignKey ForeignKey { [System.Diagnostics.DebuggerStepThrough] get; }
member this.ForeignKey : Microsoft.EntityFrameworkCore.Metadata.IForeignKey
[<get: System.Diagnostics.DebuggerStepThrough>]
member this.ForeignKey : Microsoft.EntityFrameworkCore.Metadata.IForeignKey
Public ReadOnly Property ForeignKey As IForeignKey
Public Overridable ReadOnly Property ForeignKey As IForeignKey

属性值

属性

适用于