語言

IReadOnlyProperty.GetPrincipals 方法

定義

多載

名稱 Description
GetPrincipals()

尋找包含該屬性的清單,若該屬性屬於外鍵,則該屬性受限制。

GetPrincipals<T>()

尋找包含該屬性的清單,若該屬性屬於外鍵,則該屬性受限制。

GetPrincipals()

來源:
IReadOnlyProperty.cs
來源:
IReadOnlyProperty.cs
來源:
IReadOnlyProperty.cs
來源:
IReadOnlyProperty.cs
來源:
IReadOnlyProperty.cs
來源:
IReadOnlyProperty.cs

尋找包含該屬性的清單,若該屬性屬於外鍵,則該屬性受限制。

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>()

來源:
IReadOnlyProperty.cs
來源:
IReadOnlyProperty.cs
來源:
IReadOnlyProperty.cs
來源:
IReadOnlyProperty.cs

尋找包含該屬性的清單,若該屬性屬於外鍵,則該屬性受限制。

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

傳回

所有相關的主要性質清單,包括該性質。

適用於