IReadOnlyTypeBase.FindComplexProperty Method

Definition

Overloads

FindComplexProperty(MemberInfo)

Gets a complex property with the given member info. Returns null if no property is found.

FindComplexProperty(String)

Gets the complex property with the given name. Returns null if no property with the given name is defined.

FindComplexProperty(MemberInfo)

Gets a complex property with the given member info. Returns null if no property is found.

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

Parameters

memberInfo
MemberInfo

The member on the class.

Returns

The property, or null if none is found.

Remarks

This API only finds complex properties and does not find navigation, scalar or service properties.

Applies to

FindComplexProperty(String)

Gets the complex property with the given name. Returns null if no property with the given name is defined.

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

Parameters

name
String

The name of the property.

Returns

The property, or null if none is found.

Remarks

This API only finds complex properties and does not find navigation, scalar or service properties.

Applies to