2 implementations of MergeOption
System.Data.Entity (2)
System\Data\Objects\Internal\BaseEntityWrapper.cs (1)
106
public MergeOption
MergeOption
System\Data\Objects\Internal\NullEntityWrapper.cs (1)
110
public MergeOption
MergeOption
11 references to MergeOption
System.Data.Entity (11)
System\Data\Objects\DataClasses\EntityCollection.cs (2)
332
if (null != wrappedEntity.Context && wrappedEntity.
MergeOption
!= MergeOption.NoTracking)
353
if (null != wrappedEntity.Context && wrappedEntity.
MergeOption
!= MergeOption.NoTracking)
System\Data\Objects\DataClasses\EntityReference.cs (1)
425
bool isNoTracking = targetEntity != null && targetEntity.
MergeOption
== MergeOption.NoTracking;
System\Data\Objects\DataClasses\RelationshipManager.cs (6)
535
if (wrappedOwner.Context != null && wrappedOwner.
MergeOption
!= MergeOption.NoTracking)
589
if (wrappedOwner.Context != null && wrappedOwner.
MergeOption
!= MergeOption.NoTracking)
943
Debug.Assert(wrappedOwner.Context == null || wrappedOwner.
MergeOption
== MergeOption.NoTracking, "Expected null context when initializing an existing related end");
955
Debug.Assert(wrappedOwner.Context == null || wrappedOwner.
MergeOption
== MergeOption.NoTracking, "Expected null context or NoTracking when initializing an existing related end");
971
relatedEnd.AttachContext(wrappedOwner.Context, wrappedOwner.
MergeOption
);
1030
if (wrappedOwner.Context != null && wrappedOwner.
MergeOption
!= MergeOption.NoTracking)
System\Data\Objects\ObjectContext.cs (2)
1029
this.ObjectStateManager.TransactionManager.OriginalMergeOption = wrappedEntity.
MergeOption
;
1199
wrappedEntity.
MergeOption
!= MergeOption.NoTracking)