RuntimeEntityType.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.

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IProperty? IEntityType.FindDeclaredProperty (string name);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IProperty IEntityType.FindDeclaredProperty (string name);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindDeclaredProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IProperty
override this.Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindDeclaredProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IProperty
Function FindDeclaredProperty (name As String) As IProperty Implements IEntityType.FindDeclaredProperty

Parameters

name
String

The property name.

Returns

The property, or null if none is found.

Implements

Attributes

Applies to