次の方法で共有


IConventionEntityType.FindDeclaredForeignKeys メソッド

定義

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

public virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey> 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.IConventionForeignKey>
override this.FindDeclaredForeignKeys : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> seq<Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey>
Public Overridable Function FindDeclaredForeignKeys (properties As IReadOnlyList(Of IReadOnlyProperty)) As IEnumerable(Of IConventionForeignKey)

パラメーター

properties
IReadOnlyList<IReadOnlyProperty>

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

戻り値

宣言された外部キー。

適用対象