共用方式為


RuntimeProperty.IReadOnlyProperty.GetContainingForeignKeys 方法

定義

取得使用此屬性的所有外鍵, (包括包含此屬性的複合外鍵) 。

[System.Diagnostics.DebuggerStepThrough]
System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey> IReadOnlyProperty.GetContainingForeignKeys ();
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty.GetContainingForeignKeys : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey>
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty.GetContainingForeignKeys : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey>
Function GetContainingForeignKeys () As IEnumerable(Of IReadOnlyForeignKey) Implements IReadOnlyProperty.GetContainingForeignKeys

傳回

使用這個屬性的外鍵。

實作

屬性

適用於