IConventionTypeBase.FindDeclaredComplexProperty(String) Method

Definition

Finds a property declared on the type with the given name. Does not return properties defined on a base type.

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

Parameters

name
String

The property name.

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