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