RuntimeEntityType.IReadOnlyEntityType.FindDeclaredForeignKeys 方法

定义

使用给定属性获取在此实体类型上声明的外键。

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

参数

properties
IReadOnlyList<IReadOnlyProperty>

要查找其外键的属性。

返回

声明的外键。

实现

属性

适用于