12 references to PreserveChanges
System.Data.Entity (12)
System\Data\Common\EntityUtil.cs (1)
1144
case MergeOption.
PreserveChanges
:
System\Data\Common\Internal\Materialization\Shaper.cs (2)
670
(this.MergeOption == MergeOption.
PreserveChanges
||
777
Debug.Assert(MergeOption.
PreserveChanges
== MergeOption, "not MergeOption.PreserveChanges");
System\Data\Common\QueryCache\CompiledQueryCacheEntry.cs (1)
114
case MergeOption.
PreserveChanges
:
System\Data\Objects\DataClasses\EntityReference_TResultType.cs (1)
190
else if (mergeOption == MergeOption.OverwriteChanges || mergeOption == MergeOption.
PreserveChanges
)
System\Data\Objects\ObjectContext.cs (1)
2235
MergeOption.
PreserveChanges
);
System\Data\Objects\ObjectStateManager.cs (5)
842
case MergeOption.
PreserveChanges
:
1109
Debug.Assert(mergeOption == MergeOption.
PreserveChanges
|| mergeOption == MergeOption.OverwriteChanges, "Unexpected MergeOption");
1126
else if (mergeOption == MergeOption.
PreserveChanges
)
1230
case MergeOption.
PreserveChanges
:
1334
case MergeOption.
PreserveChanges
:
System\Data\Objects\RefreshMode.cs (1)
26
ClientWins = MergeOption.
PreserveChanges
,