语言

IMutableNavigation.ForeignKey 属性

定义

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

public Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey ForeignKey { get; }
[System.Runtime.CompilerServices.Nullable(1)]
public virtual Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey ForeignKey { [System.Diagnostics.DebuggerStepThrough] get; }
public virtual Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey ForeignKey { [System.Diagnostics.DebuggerStepThrough] get; }
member this.ForeignKey : Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey
[<System.Runtime.CompilerServices.Nullable(1)>]
[<get: System.Diagnostics.DebuggerStepThrough>]
member this.ForeignKey : Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey
[<get: System.Diagnostics.DebuggerStepThrough>]
member this.ForeignKey : Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey
Public ReadOnly Property ForeignKey As IMutableForeignKey
Public Overridable ReadOnly Property ForeignKey As IMutableForeignKey

属性值

特性

适用于