IConventionTypeBase.GetProperty(String) Method

Definition

Gets a property with the given name.

public virtual Microsoft.EntityFrameworkCore.Metadata.IConventionProperty GetProperty (string name);
abstract member GetProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionProperty
override this.GetProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionProperty
Public Overridable Function GetProperty (name As String) As IConventionProperty

Parameters

name
String

The property name.

Returns

The property.

Remarks

This API only finds scalar properties and does not find navigation properties.

Applies to