ObjectContextOptions 클래스
정의
ObjectContext의 동작에 영향을 미치는 옵션을 정의합니다.Defines options that affect the behavior of the ObjectContext.
public ref class ObjectContextOptions sealed
public sealed class ObjectContextOptions
type ObjectContextOptions = class
Public NotInheritable Class ObjectContextOptions
- 상속
-
ObjectContextOptions
속성
LazyLoadingEnabled |
탐색 속성을 액세스할 때 관련 개체가 자동으로 로드되는지 여부를 결정하는 부울 값을 가져오거나 설정합니다.Gets or sets a Boolean value that determines whether related objects are loaded automatically when a navigation property is accessed. |
ProxyCreationEnabled |
지속성을 무시하는 사용자 지정 데이터 클래스에 대해 프록시 인스턴스를 만들지 여부를 결정하는 부울 값을 가져오거나 설정합니다.Gets or sets a Boolean value that determines whether proxy instances are created for custom data classes that are persistence ignorant. |
UseConsistentNullReferenceBehavior |
일관된 NullReference 동작을 사용할지 여부를 결정하는 부울 값을 가져오거나 설정합니다.Gets or sets a Boolean value that determines whether to use the consistent NullReference behavior. |
UseCSharpNullComparisonBehavior |
C# NullComparison 동작을 사용할지 여부를 결정하는 부울 값을 가져오거나 설정합니다.Gets or sets a Boolean value that determines whether to use the C# NullComparison behavior. |
UseLegacyPreserveChangesBehavior |
레거시 PreserveChanges 동작을 사용할지 여부를 결정하는 부울 값을 가져오거나 설정합니다.Gets or sets a Boolean value that determines whether to use the legacy PreserveChanges behavior. |
메서드
Equals(Object) |
지정된 개체가 현재 개체와 같은지 확인합니다.Determines whether the specified object is equal to the current object. (다음에서 상속됨 Object) |
GetHashCode() |
기본 해시 함수로 작동합니다.Serves as the default hash function. (다음에서 상속됨 Object) |
GetType() |
현재 인스턴스의 Type을 가져옵니다.Gets the Type of the current instance. (다음에서 상속됨 Object) |
MemberwiseClone() |
현재 Object의 단순 복사본을 만듭니다.Creates a shallow copy of the current Object. (다음에서 상속됨 Object) |
ToString() |
현재 개체를 나타내는 문자열을 반환합니다.Returns a string that represents the current object. (다음에서 상속됨 Object) |