IReadOnlyProperty.GetPrincipals メソッド

定義

オーバーロード

GetPrincipals()

指定したプロパティが外部キーの一部である場合に、指定されたプロパティが制約される特定のプロパティを含むプリンシパル プロパティの一覧を検索します。

GetPrincipals<T>()

指定したプロパティが外部キーの一部である場合に、指定されたプロパティが制約される特定のプロパティを含むプリンシパル プロパティの一覧を検索します。

GetPrincipals()

指定したプロパティが外部キーの一部である場合に、指定されたプロパティが制約される特定のプロパティを含むプリンシパル プロパティの一覧を検索します。

public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> GetPrincipals ();
abstract member GetPrincipals : unit -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty>
override this.GetPrincipals : unit -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty>
Public Overridable Function GetPrincipals () As IReadOnlyList(Of IReadOnlyProperty)

戻り値

指定されたプロパティを含む、関連付けられているすべてのプリンシパル プロパティの一覧。

適用対象

GetPrincipals<T>()

指定したプロパティが外部キーの一部である場合に、指定されたプロパティが制約される特定のプロパティを含むプリンシパル プロパティの一覧を検索します。

public virtual System.Collections.Generic.IReadOnlyList<T> GetPrincipals<T> () where T : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty;
abstract member GetPrincipals : unit -> System.Collections.Generic.IReadOnlyList<'T (requires 'T :> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty)> (requires 'T :> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty)
override this.GetPrincipals : unit -> System.Collections.Generic.IReadOnlyList<'T (requires 'T :> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty)> (requires 'T :> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty)
Public Overridable Function GetPrincipals(Of T As IReadOnlyProperty) () As IReadOnlyList(Of T)

型パラメーター

T

戻り値

指定されたプロパティを含む、関連付けられているすべてのプリンシパル プロパティの一覧。

適用対象