다음을 통해 공유


EntityTypeExtensions.FindDeclaredProperty(IEntityType, String) 메서드

정의

지정된 이름을 사용하여 형식에 선언된 속성을 찾습니다. 기본 형식에 정의된 속성을 반환하지 않습니다.

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

매개 변수

entityType
IEntityType

엔터티 형식입니다.

name
String

속성 이름입니다.

반환

속성이거나 null , 찾을 수 없는 경우 입니다.

적용 대상