다음을 통해 공유


EntityTypeExtensions.FindProperties 메서드

정의

지정된 엔터티 형식에서 일치하는 속성을 찾습니다. 속성을 찾을 수 없는 경우 를 반환 null 합니다.

이 API는 스칼라 속성만 찾고 탐색 속성을 찾을 수 없습니다.

public static System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty> FindProperties (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, System.Collections.Generic.IReadOnlyList<string> propertyNames);
static member FindProperties : Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Collections.Generic.IReadOnlyList<string> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IProperty>
<Extension()>
Public Function FindProperties (entityType As IEntityType, propertyNames As IReadOnlyList(Of String)) As IReadOnlyList(Of IProperty)

매개 변수

entityType
IEntityType

엔터티 형식입니다.

propertyNames
IReadOnlyList<String>

속성 이름입니다.

반환

속성 또는 null 속성을 찾을 수 없는 경우 입니다.

적용 대상