IEntityType.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 Microsoft.EntityFrameworkCore.Metadata.IProperty? FindDeclaredProperty (string name);
abstract member FindDeclaredProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IProperty
Public Function FindDeclaredProperty (name As String) As IProperty

Parameters

name
String

The property name.

Returns

The property, or null if none is found.

Implements

Applies to