RuntimeProperty.IProperty.GetContainingForeignKeys 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得所有使用此屬性的外鍵(包括包含此屬性的複合外鍵)。
[System.Diagnostics.DebuggerStepThrough]
System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IForeignKey> IProperty.GetContainingForeignKeys();
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IProperty.GetContainingForeignKeys : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IForeignKey>
override this.Microsoft.EntityFrameworkCore.Metadata.IProperty.GetContainingForeignKeys : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IForeignKey>
Function GetContainingForeignKeys () As IEnumerable(Of IForeignKey) Implements IProperty.GetContainingForeignKeys
傳回
使用此特性的外鍵。
實作
- 屬性