Share via


RuntimeEntityType.IEntityType.FindProperties 方法

定義

在指定的實體類型上尋找相符的屬性。 如果找不到任何屬性,則傳 null 回 。

[System.Diagnostics.DebuggerStepThrough]
System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> IEntityType.FindProperties (System.Collections.Generic.IReadOnlyList<string> propertyNames);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindProperties : System.Collections.Generic.IReadOnlyList<string> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty>
override this.Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindProperties : System.Collections.Generic.IReadOnlyList<string> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty>
Function FindProperties (propertyNames As IReadOnlyList(Of String)) As IReadOnlyList(Of IProperty) Implements IEntityType.FindProperties

參數

propertyNames
IReadOnlyList<String>

屬性名稱。

傳回

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

實作

屬性

適用於