IConventionTypeBase.FindComplexProperty 方法

定义

重载

FindComplexProperty(MemberInfo)

获取具有给定成员信息的复杂属性。 null如果未找到任何属性,则返回 。

FindComplexProperty(String)

获取具有给定名称的复杂属性。 null如果未定义具有给定名称的属性,则返回 。

FindComplexProperty(MemberInfo)

获取具有给定成员信息的复杂属性。 null如果未找到任何属性,则返回 。

public virtual Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty? FindComplexProperty (System.Reflection.MemberInfo memberInfo);
abstract member FindComplexProperty : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty
override this.FindComplexProperty : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty
Public Overridable Function FindComplexProperty (memberInfo As MemberInfo) As IConventionComplexProperty

参数

memberInfo
MemberInfo

实体类上的成员。

返回

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

注解

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

适用于

FindComplexProperty(String)

获取具有给定名称的复杂属性。 null如果未定义具有给定名称的属性,则返回 。

public Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty? FindComplexProperty (string name);
abstract member FindComplexProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty
Public Function FindComplexProperty (name As String) As IConventionComplexProperty

参数

name
String

属性的名称。

返回

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

注解

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

适用于