IMutableTypeBase.FindProperties(IReadOnlyList<String>) 方法

定義

尋找此類型的相符屬性。 如果找不到任何屬性,則傳 null 回 。

public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableProperty>? FindProperties (System.Collections.Generic.IReadOnlyList<string> propertyNames);
abstract member FindProperties : System.Collections.Generic.IReadOnlyList<string> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableProperty>
override this.FindProperties : System.Collections.Generic.IReadOnlyList<string> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableProperty>
Public Overridable Function FindProperties (propertyNames As IReadOnlyList(Of String)) As IReadOnlyList(Of IMutableProperty)

參數

propertyNames
IReadOnlyList<String>

屬性名稱。

傳回

屬性,如果 null 找不到任何屬性,則為 。

備註

此 API 只會尋找純量屬性,而且找不到流覽、複雜或服務屬性。

適用於