다음을 통해 공유


MutableTypeBaseExtensions.SetNavigationAccessMode 메서드

정의

PropertyAccessMode 이 엔터티 형식의 탐색에 사용할 을 설정합니다.

개별 탐색은 이 액세스 모드를 재정의할 수 있습니다. 여기에 설정된 값은 재정의가 지정되지 않은 탐색에 사용됩니다.

public static void SetNavigationAccessMode (this Microsoft.EntityFrameworkCore.Metadata.IMutableTypeBase entityType, Microsoft.EntityFrameworkCore.PropertyAccessMode? propertyAccessMode);
static member SetNavigationAccessMode : Microsoft.EntityFrameworkCore.Metadata.IMutableTypeBase * Nullable<Microsoft.EntityFrameworkCore.PropertyAccessMode> -> unit
<Extension()>
Public Sub SetNavigationAccessMode (entityType As IMutableTypeBase, propertyAccessMode As Nullable(Of PropertyAccessMode))

매개 변수

entityType
IMutableTypeBase

액세스 모드를 설정할 형식입니다.

propertyAccessMode
Nullable<PropertyAccessMode>

PropertyAccessMode모드 집합을 지우려면 또는 null 입니다.

적용 대상