Share via


EntityTypeExtensions.FindDeclaredProperty(IEntityType, String) Metoda

Definice

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

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

Parametry

entityType
IEntityType

Typ entity.

name
String

Název vlastnosti

Návraty

Vlastnost nebo null pokud nebyla nalezena žádná.

Platí pro