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

Parameters

name
String

The property name.

Returns

The property, or null if none is found.

Applies to