RuntimeEntityType.IReadOnlyEntityType.FindProperties 方法

定义

查找给定实体类型上的匹配属性。 null如果未找到任何属性,则返回 。

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

参数

propertyNames
IReadOnlyList<String>

属性名称。

返回

属性;如果未找到任何属性,则为 。null

实现

属性

适用于