IConventionTypeBase.FindProperties(IReadOnlyList<String>) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
查找给定实体类型上的匹配属性。 null
如果未找到任何属性,则返回 。
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty>? FindProperties (System.Collections.Generic.IReadOnlyList<string> propertyNames);
abstract member FindProperties : System.Collections.Generic.IReadOnlyList<string> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty>
override this.FindProperties : System.Collections.Generic.IReadOnlyList<string> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty>
Public Overridable Function FindProperties (propertyNames As IReadOnlyList(Of String)) As IReadOnlyList(Of IConventionProperty)
参数
- propertyNames
- IReadOnlyList<String>
属性名称。
返回
属性;如果未找到任何属性,则为 。null
注解
此 API 仅查找标量属性,而找不到导航属性、复杂属性或服务属性。