다음을 통해 공유


PropertyBuilder.UsePropertyAccessMode 메서드

정의

오버로드

UsePropertyAccessMode(PropertyAccessMode)

이 속성에 PropertyAccessMode 사용할 를 설정합니다.

기본적으로 백업 필드는 규칙에 따라 찾거나 지정된 경우 새 개체가 생성될 때 사용되며, 일반적으로 데이터베이스에서 엔터티를 쿼리할 때 사용됩니다. 속성은 다른 모든 액세스에 사용됩니다. 이 메서드를 호출하면 열거형에 설명된 대로 이 속성에 대한 동작이 PropertyAccessMode 변경됩니다.

이 메서드를 호출하면 엔터티 형식 또는 모델에서 설정된 액세스 모드가 이 속성에 대해 재정의됩니다.

UsePropertyAccessMode(PropertyAccessMode)

이 속성에 PropertyAccessMode 사용할 를 설정합니다.

UsePropertyAccessMode(PropertyAccessMode)

이 속성에 PropertyAccessMode 사용할 를 설정합니다.

기본적으로 백업 필드는 규칙에 따라 찾거나 지정된 경우 새 개체가 생성될 때 사용되며, 일반적으로 데이터베이스에서 엔터티를 쿼리할 때 사용됩니다. 속성은 다른 모든 액세스에 사용됩니다. 이 메서드를 호출하면 열거형에 설명된 대로 이 속성에 대한 동작이 PropertyAccessMode 변경됩니다.

이 메서드를 호출하면 엔터티 형식 또는 모델에서 설정된 액세스 모드가 이 속성에 대해 재정의됩니다.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder UsePropertyAccessMode (Microsoft.EntityFrameworkCore.Metadata.PropertyAccessMode propertyAccessMode);
abstract member UsePropertyAccessMode : Microsoft.EntityFrameworkCore.Metadata.PropertyAccessMode -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
override this.UsePropertyAccessMode : Microsoft.EntityFrameworkCore.Metadata.PropertyAccessMode -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
Public Overridable Function UsePropertyAccessMode (propertyAccessMode As PropertyAccessMode) As PropertyBuilder

매개 변수

propertyAccessMode
PropertyAccessMode

PropertyAccessMode 이 속성에 사용할 입니다.

반환

여러 구성 호출을 연결할 수 있도록 동일한 작성기가 instance.

적용 대상

UsePropertyAccessMode(PropertyAccessMode)

이 속성에 PropertyAccessMode 사용할 를 설정합니다.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder UsePropertyAccessMode (Microsoft.EntityFrameworkCore.PropertyAccessMode propertyAccessMode);
abstract member UsePropertyAccessMode : Microsoft.EntityFrameworkCore.PropertyAccessMode -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
override this.UsePropertyAccessMode : Microsoft.EntityFrameworkCore.PropertyAccessMode -> Microsoft.EntityFrameworkCore.Metadata.Builders.PropertyBuilder
Public Overridable Function UsePropertyAccessMode (propertyAccessMode As PropertyAccessMode) As PropertyBuilder

매개 변수

propertyAccessMode
PropertyAccessMode

PropertyAccessMode 이 속성에 사용할 입니다.

반환

여러 구성 호출을 연결할 수 있도록 동일한 작성기가 instance.

설명

기본적으로 백업 필드는 규칙에 따라 찾거나 지정된 경우 새 개체가 생성될 때 사용되며, 일반적으로 데이터베이스에서 엔터티를 쿼리할 때 사용됩니다. 속성은 다른 모든 액세스에 사용됩니다. 이 메서드를 호출하면 열거형에 설명된 대로 이 속성에 대한 동작이 PropertyAccessMode 변경됩니다.

이 메서드를 호출하면 엔터티 형식 또는 모델에서 설정된 액세스 모드가 이 속성에 대해 재정의됩니다.

적용 대상