14 references to OverwriteChanges
System.Data.Entity (14)
System\Data\Common\EntityUtil.cs (1)
1143
case MergeOption.
OverwriteChanges
:
System\Data\Common\Internal\Materialization\Shaper.cs (3)
516
if (forceToTrue || this.MergeOption == MergeOption.
OverwriteChanges
)
671
this.MergeOption == MergeOption.
OverwriteChanges
))
764
if (MergeOption.
OverwriteChanges
== MergeOption)
System\Data\Common\QueryCache\CompiledQueryCacheEntry.cs (1)
113
case MergeOption.
OverwriteChanges
:
System\Data\Objects\DataClasses\EntityReference_TResultType.cs (1)
190
else if (mergeOption == MergeOption.
OverwriteChanges
|| mergeOption == MergeOption.PreserveChanges)
System\Data\Objects\DataClasses\RelatedEnd.cs (1)
860
Merge(collection, MergeOption.
OverwriteChanges
, false /*setIsLoaded*/);
System\Data\Objects\ObjectContext.cs (1)
2234
MergeOption.
OverwriteChanges
:
System\Data\Objects\ObjectStateManager.cs (5)
843
case MergeOption.
OverwriteChanges
:
1109
Debug.Assert(mergeOption == MergeOption.PreserveChanges || mergeOption == MergeOption.
OverwriteChanges
, "Unexpected MergeOption");
1115
if (mergeOption == MergeOption.
OverwriteChanges
)
1222
case MergeOption.
OverwriteChanges
:
1302
case MergeOption.
OverwriteChanges
:
System\Data\Objects\RefreshMode.cs (1)
33
StoreWins = MergeOption.
OverwriteChanges
,