次の方法で共有


IReadOnlyEntityType.FindDeclaredForeignKeys メソッド

定義

指定されたプロパティを使用して、このエンティティ型で宣言されている外部キーを取得します。

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey> 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.IReadOnlyForeignKey>
Public Function FindDeclaredForeignKeys (properties As IReadOnlyList(Of IReadOnlyProperty)) As IEnumerable(Of IReadOnlyForeignKey)

パラメーター

properties
IReadOnlyList<IReadOnlyProperty>

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

戻り値

宣言された外部キー。

適用対象