ITypeBase.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.IComplexProperty? FindDeclaredComplexProperty (string name);
abstract member FindDeclaredComplexProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IComplexProperty
override this.FindDeclaredComplexProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IComplexProperty
Public Overridable Function FindDeclaredComplexProperty (name As String) As IComplexProperty

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