다음을 통해 공유


EntityTypeExtensions.GetDeclaredProperties(IEntityType) 메서드

정의

지정된 IEntityType에 선언된 모든 비 탐색 속성을 가져옵니다.

이 메서드는 기본 형식에 선언된 속성을 반환하지 않습니다. 동일한 속성을 두 번 이상 처리하지 않도록 모든 엔터티 형식을 반복할 때 유용합니다. 또한 를 사용하여 GetProperties() 기본 형식에 선언된 속성을 반환합니다.

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IProperty> GetDeclaredProperties (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetDeclaredProperties : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IProperty>
<Extension()>
Public Function GetDeclaredProperties (entityType As IEntityType) As IEnumerable(Of IProperty)

매개 변수

entityType
IEntityType

엔터티 형식입니다.

반환

선언된 비 탐색 속성입니다.

적용 대상