RuntimeEntityType.IEntityType.FindDeclaredProperty(String) 方法

定义

查找在具有给定名称的类型上声明的属性。 不返回在基类型上定义的属性。

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IProperty? IEntityType.FindDeclaredProperty (string name);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IProperty IEntityType.FindDeclaredProperty (string name);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindDeclaredProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IProperty
override this.Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindDeclaredProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IProperty
Function FindDeclaredProperty (name As String) As IProperty Implements IEntityType.FindDeclaredProperty

参数

name
String

属性名称。

返回

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

实现

属性

适用于