16 references to ContextOptions
System.Data.Entity (16)
System\Data\Common\Internal\Materialization\Shaper.cs (1)
788
if (Context.
ContextOptions
.UseLegacyPreserveChangesBehavior)
System\Data\Objects\DataClasses\EntityReference_TResultType.cs (1)
147
if (ObjectContext != null && ObjectContext.
ContextOptions
.UseConsistentNullReferenceBehavior)
System\Data\Objects\DataClasses\RelatedEnd.cs (3)
731
_context.
ContextOptions
.LazyLoadingEnabled &&
745
_context.
ContextOptions
.LazyLoadingEnabled = false;
752
_context.
ContextOptions
.LazyLoadingEnabled = true;
System\Data\Objects\ELinq\CompiledELinqQueryState.cs (1)
63
bool useCSharpNullComparisonBehavior = this.ObjectContext.
ContextOptions
.UseCSharpNullComparisonBehavior;
System\Data\Objects\ELinq\ELinqQueryState.cs (3)
62
_useCSharpNullComparisonBehavior = context.
ContextOptions
.UseCSharpNullComparisonBehavior;
108
this.ObjectContext.
ContextOptions
.UseCSharpNullComparisonBehavior != this._useCSharpNullComparisonBehavior)
140
this._useCSharpNullComparisonBehavior = this.ObjectContext.
ContextOptions
.UseCSharpNullComparisonBehavior;
System\Data\Objects\ELinq\ExpressionConverter.cs (2)
1294
if (!_funcletizer.RootContext.
ContextOptions
.UseCSharpNullComparisonBehavior)
1318
if (!_funcletizer.RootContext.
ContextOptions
.UseCSharpNullComparisonBehavior)
System\Data\Objects\ELinq\MethodCallTranslator.cs (2)
2252
if (!parent._funcletizer.RootContext.
ContextOptions
.UseCSharpNullComparisonBehavior)
2282
if (parent._funcletizer.RootContext.
ContextOptions
.UseCSharpNullComparisonBehavior)
System\Data\Objects\ELinq\Translator.cs (1)
1024
if (parent._funcletizer.RootContext.
ContextOptions
.UseCSharpNullComparisonBehavior)
System\Data\Objects\ObjectContext.cs (2)
275
ContextOptions
.UseLegacyPreserveChangesBehavior = useV35Behavior;
2966
if (
ContextOptions
.ProxyCreationEnabled && ((proxyTypeInfo = EntityProxyFactory.GetProxyType(entityType)) != null))