ObjectContextOptions Class
Defines options that affect the behavior of the ObjectContext.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | EnsureTransactionsForFunctionsAndCommands | Gets or sets the value that determines whether SQL functions and commands should be always executed in a transaction. |
![]() | 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 | Gets or sets a Boolean value that determines whether to use the consistent NullReference behavior. |
![]() | UseCSharpNullComparisonBehavior | Gets or sets a Boolean value that determines whether to use the C# NullComparison behavior. |
![]() | UseLegacyPreserveChangesBehavior | Gets or sets a Boolean value that determines whether to use the legacy PreserveChanges behavior. |
Name | Description | |
---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.