다음을 통해 공유


MutableEntityTypeExtensions.SetPropertyAccessMode 메서드

정의

오버로드

SetPropertyAccessMode(IMutableEntityType, Nullable<PropertyAccessMode>)

PropertyAccessMode 이 엔터티 형식의 속성에 사용할 를 설정합니다.

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

SetPropertyAccessMode(IMutableEntityType, Nullable<PropertyAccessMode>)

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

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

SetPropertyAccessMode(IMutableEntityType, Nullable<PropertyAccessMode>)

PropertyAccessMode 이 엔터티 형식의 속성에 사용할 를 설정합니다.

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

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

매개 변수

entityType
IMutableEntityType

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

propertyAccessMode
Nullable<PropertyAccessMode>

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

적용 대상

SetPropertyAccessMode(IMutableEntityType, Nullable<PropertyAccessMode>)

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

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

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

매개 변수

entityType
IMutableEntityType

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

propertyAccessMode
Nullable<PropertyAccessMode>

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

적용 대상