次の方法で共有


IEntityType.FindDeclaredForeignKeys メソッド

定義

指定 IEntityType されたプロパティを使用して、 で宣言された外部キーを取得します。

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IForeignKey> FindDeclaredForeignKeys (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
abstract member FindDeclaredForeignKeys : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> seq<Microsoft.EntityFrameworkCore.Metadata.IForeignKey>
Public Function FindDeclaredForeignKeys (properties As IReadOnlyList(Of IReadOnlyProperty)) As IEnumerable(Of IForeignKey)

パラメーター

properties
IReadOnlyList<IReadOnlyProperty>

外部キーを検索するプロパティ。

戻り値

宣言された外部キー。

適用対象