RuntimeEntityType.IReadOnlyEntityType.GetReferencingForeignKeys 方法

定义

获取面向给定实体类型的所有外键 (即,其中给定实体类型或基类型是主体) 的外键。

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

返回

引用给定实体类型或基类型的外键。

实现

属性

适用于