Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ObjectContextOptions Class

Entity Framework 6.0
 

Defines options that affect the behavior of the ObjectContext.

Namespace:   System.Data.Entity.Core.Objects
Assembly:  EntityFramework (in EntityFramework.dll)

System::Object
  System.Data.Entity.Core.Objects::ObjectContextOptions

public ref class ObjectContextOptions sealed 

NameDescription
System_CAPS_pubpropertyEnsureTransactionsForFunctionsAndCommands

Gets or sets the value that determines whether SQL functions and commands should be always executed in a transaction.

System_CAPS_pubpropertyLazyLoadingEnabled

Gets or sets a Boolean value that determines whether related objects are loaded automatically when a navigation property is accessed.

System_CAPS_pubpropertyProxyCreationEnabled

Gets or sets a Boolean value that determines whether proxy instances are created for custom data classes that are persistence ignorant.

System_CAPS_pubpropertyUseConsistentNullReferenceBehavior

Gets or sets a Boolean value that determines whether to use the consistent NullReference behavior.

System_CAPS_pubpropertyUseCSharpNullComparisonBehavior

Gets or sets a Boolean value that determines whether to use the C# NullComparison behavior.

System_CAPS_pubpropertyUseLegacyPreserveChangesBehavior

Gets or sets a Boolean value that determines whether to use the legacy PreserveChanges behavior.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(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.

Return to top
Show: