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

Parameters

name
String

The property name.

Returns

The property, or null if none is found.

Applies to