다음을 통해 공유


IReadOnlyEntityType.GetDeclaredProperties 메서드

정의

이 엔터티 형식에 선언된 모든 비 탐색 속성을 가져옵니다.

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> GetDeclaredProperties ();
abstract member GetDeclaredProperties : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty>
Public Function GetDeclaredProperties () As IEnumerable(Of IReadOnlyProperty)

반환

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

설명

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

적용 대상