Export (0) Print
Expand All

ObjectContextOptions Properties

The ObjectContextOptions type exposes the following members.

  Name Description
Public property LazyLoadingEnabled Gets or sets a Boolean value that determines whether related objects are loaded automatically when a navigation property is accessed.
Public property ProxyCreationEnabled Gets or sets a Boolean value that determines whether proxy instances are created for custom data classes that are persistence ignorant.
Public property UseConsistentNullReferenceBehavior Gets or sets a Boolean value that determines whether to use the consistent NullReference behavior.
Public property UseCSharpNullComparisonBehavior Gets or sets a Boolean value that determines whether to use the C# NullComparison behavior.
Public property UseLegacyPreserveChangesBehavior Gets or sets a Boolean value that determines whether to use the legacy PreserveChanges behavior.
Top
Show:
© 2014 Microsoft