语言

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

返回

使用此属性的外键。

实现

特性

适用于