다음을 통해 공유


EntityTypeExtensions.GetDeclaredServiceProperties(IEntityType) 메서드

정의

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

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

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

매개 변수

entityType
IEntityType

엔터티 형식입니다.

반환

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

적용 대상