IMutableTypeBase.FindDeclaredComplexProperty(String) 方法

定义

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

public virtual Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty? FindDeclaredComplexProperty (string name);
abstract member FindDeclaredComplexProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty
override this.FindDeclaredComplexProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty
Public Overridable Function FindDeclaredComplexProperty (name As String) As IMutableComplexProperty

参数

name
String

属性名称。

返回

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

注解

此 API 仅查找复杂属性,而不查找导航、标量或服务属性。

适用于