다음을 통해 공유


EntityTypeExtensions.FindProperty 메서드

정의

오버로드

FindProperty(IEntityType, MemberInfo)

지정된 멤버 정보가 있는 속성을 가져옵니다. 속성을 찾을 수 없는 경우 를 반환 null 합니다.

이 API는 스칼라 속성만 찾고 탐색 속성을 찾을 수 없습니다. 를 사용하여 FindNavigation(IEntityType, MemberInfo) 탐색 속성을 찾습니다.

FindProperty(IEntityType, PropertyInfo)

지정된 엔터티 형식의 속성을 가져옵니다. 속성을 찾을 수 없으면 null을 반환합니다.

이 API는 스칼라 속성만 찾고 탐색 속성을 찾을 수 없습니다. 를 사용하여 FindNavigation(IEntityType, PropertyInfo) 탐색 속성을 찾습니다.

FindProperty(IEntityType, MemberInfo)

지정된 멤버 정보가 있는 속성을 가져옵니다. 속성을 찾을 수 없는 경우 를 반환 null 합니다.

이 API는 스칼라 속성만 찾고 탐색 속성을 찾을 수 없습니다. 를 사용하여 FindNavigation(IEntityType, MemberInfo) 탐색 속성을 찾습니다.

public static Microsoft.EntityFrameworkCore.Metadata.IProperty FindProperty (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, System.Reflection.MemberInfo memberInfo);
static member FindProperty : Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Metadata.IProperty
<Extension()>
Public Function FindProperty (entityType As IEntityType, memberInfo As MemberInfo) As IProperty

매개 변수

entityType
IEntityType

엔터티 형식입니다.

memberInfo
MemberInfo

엔터티 클래스의 멤버입니다.

반환

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

적용 대상

FindProperty(IEntityType, PropertyInfo)

지정된 엔터티 형식의 속성을 가져옵니다. 속성을 찾을 수 없으면 null을 반환합니다.

이 API는 스칼라 속성만 찾고 탐색 속성을 찾을 수 없습니다. 를 사용하여 FindNavigation(IEntityType, PropertyInfo) 탐색 속성을 찾습니다.

public static Microsoft.EntityFrameworkCore.Metadata.IProperty FindProperty (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, System.Reflection.PropertyInfo propertyInfo);
static member FindProperty : Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Reflection.PropertyInfo -> Microsoft.EntityFrameworkCore.Metadata.IProperty
<Extension()>
Public Function FindProperty (entityType As IEntityType, propertyInfo As PropertyInfo) As IProperty

매개 변수

entityType
IEntityType

속성을 찾을 엔터티 형식입니다.

propertyInfo
PropertyInfo

엔터티 클래스의 속성입니다.

반환

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

적용 대상