다음을 통해 공유


IEntityType.GetDeclaredServiceProperties 메서드

정의

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

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

반환

선언된 서비스 속성입니다.

설명

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

적용 대상