IReadOnlyTypeBase.FindMember(String) Method

Definition

Gets the member with the given name. Returns null if no member with the given name is defined.

public Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase? FindMember (string name);
abstract member FindMember : string -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyPropertyBase
Public Function FindMember (name As String) As IReadOnlyPropertyBase

Parameters

name
String

The name of the property.

Returns

The property, or null if none is found.

Remarks

This API only finds scalar properties and does not find navigation, complex or service properties.

Applies to