Sdílet prostřednictvím


MutableEntityTypeExtensions.FindDeclaredProperty Metoda

Definice

Vyhledá vlastnost deklarovanou u typu s daným názvem. Nevrací vlastnosti definované u základního typu.

public static Microsoft.EntityFrameworkCore.Metadata.IMutableProperty FindDeclaredProperty (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, string name);
static member FindDeclaredProperty : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * string -> Microsoft.EntityFrameworkCore.Metadata.IMutableProperty
<Extension()>
Public Function FindDeclaredProperty (entityType As IMutableEntityType, name As String) As IMutableProperty

Parametry

entityType
IMutableEntityType

Typ entity.

name
String

Název vlastnosti

Návraty

Vlastnost nebo null pokud nebyla nalezena žádná.

Platí pro