IConventionTypeBase.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 a 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.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

Parameters

memberInfo
MemberInfo

The member on the entity 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 a given name. Returns null if no property with the given name is defined.

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

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